mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-27 03:10:37 +00:00
CONFIGURE: Add case for selecting OpenGL ES support on the OpenPandora.
This commit is contained in:
parent
4cd34733a3
commit
fbf193f756
15
configure
vendored
15
configure
vendored
@ -3501,6 +3501,21 @@ define_in_config_if_yes "$_freetype2" "USE_FREETYPE2"
|
||||
# Check for OpenGL (ES)
|
||||
#
|
||||
echocheck "OpenGL"
|
||||
|
||||
case $_backend in
|
||||
openpandora)
|
||||
# Only enable OpenGL ES on the OpanPandora if --enable-opengl is passed in explicitly.
|
||||
if test "$_opengl" = yes ; then
|
||||
_opengl=yes
|
||||
_opengles=yes
|
||||
OPENGL_LIBS="-lGLES_CM -lEGL -lX11"
|
||||
OPENGL_CFLAGS="$OPENGL_LIBS"
|
||||
LIBS="$LIBS $OPENGL_LIBS"
|
||||
INCLUDES="$INCLUDES $OPENGL_CFLAGS"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
if test "$_opengl" = auto ; then
|
||||
_opengl=no
|
||||
if test "$_backend" = "sdl" ; then
|
||||
|
Loading…
Reference in New Issue
Block a user