mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
qb: Improve the OpenGLES build.
This commit is contained in:
parent
ff410f515e
commit
271aef55a4
@ -343,25 +343,23 @@ if [ "$HAVE_OPENGL" != 'no' ] && [ "$HAVE_OPENGLES" != 'yes' ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
check_pkgconf OSMESA osmesa
|
check_pkgconf OSMESA osmesa
|
||||||
else
|
|
||||||
die : 'Notice: Ignoring Cg. Desktop OpenGL is not enabled.'
|
|
||||||
HAVE_CG='no'
|
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
HAVE_OPENGL='no'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
check_enabled OPENGL CG Cg 'OpenGL is' false
|
||||||
|
check_enabled OPENGL OSMESA osmesa 'OpenGL is' false
|
||||||
|
check_enabled OPENGL OPENGL1 OpenGL1 'OpenGL is' false
|
||||||
|
|
||||||
if [ "$HAVE_OPENGL" = 'no' ] && [ "$HAVE_OPENGLES3" = 'no' ]; then
|
if [ "$HAVE_OPENGL" = 'no' ] && [ "$HAVE_OPENGLES3" = 'no' ]; then
|
||||||
die : 'Notice: OpenGL and OpenGLES3 are disabled. Disabling HAVE_OPENGL_CORE.'
|
die : 'Notice: OpenGL and OpenGLES3 are disabled. Disabling OpenGL core.'
|
||||||
HAVE_OPENGL_CORE='no'
|
HAVE_OPENGL_CORE='no'
|
||||||
elif [ "$HAVE_OPENGLES" != 'no' ] && [ "$HAVE_OPENGLES3" != 'yes' ]; then
|
elif [ "$HAVE_OPENGLES" != 'no' ] && [ "$HAVE_OPENGLES3" != 'yes' ]; then
|
||||||
die : 'Notice: OpenGLES2 is enabled. Disabling the OpenGL core driver.'
|
die : 'Notice: OpenGLES2 is enabled. Disabling the OpenGL core driver.'
|
||||||
HAVE_OPENGL_CORE='no'
|
HAVE_OPENGL_CORE='no'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$HAVE_OPENGLES" != 'no' ] || [ "$HAVE_OPENGLES3" != 'no' ]; then
|
|
||||||
die : 'Notice: OpenGLES is enabled. Disabling the OpenGL1 driver.'
|
|
||||||
HAVE_OPENGL1='no'
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$HAVE_ZLIB" = 'no' ]; then
|
if [ "$HAVE_ZLIB" = 'no' ]; then
|
||||||
HAVE_BUILTINZLIB=no
|
HAVE_BUILTINZLIB=no
|
||||||
elif [ "$HAVE_BUILTINZLIB" = 'yes' ]; then
|
elif [ "$HAVE_BUILTINZLIB" = 'yes' ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user