mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-27 03:10:37 +00:00
CONFIGURE: Add AmigaOS4 GLESv2 implementation
This commit is contained in:
parent
c2e9c668e7
commit
657c09c976
19
configure
vendored
19
configure
vendored
@ -4973,14 +4973,19 @@ EOF
|
||||
fi
|
||||
done
|
||||
elif test "$_opengles2" = yes ; then
|
||||
# 1) GLESv2 This is generally used by nearly all platforms for OpenGL ES 2
|
||||
# 2) ogles2 This is used by AmigaOS4 (and proabably others)
|
||||
_opengles2=no
|
||||
if cc_check_no_clean $DEFINES $OPENGL_CFLAGS $OPENGL_LIBS "-lGLESv2"
|
||||
then
|
||||
_opengl=yes
|
||||
_opengles2=yes
|
||||
_opengl_shaders=yes
|
||||
append_var OPENGL_LIBS "-lGLESv2"
|
||||
fi
|
||||
for lib in "-lGLESv2" "-logles2"; do
|
||||
if cc_check_no_clean $DEFINES $OPENGL_CFLAGS $OPENGL_LIBS $lib
|
||||
then
|
||||
_opengl=yes
|
||||
_opengles2=yes
|
||||
_opengl_shaders=yes
|
||||
append_var OPENGL_LIBS "$lib"
|
||||
break
|
||||
fi
|
||||
done
|
||||
else
|
||||
case $_host_os in
|
||||
darwin*)
|
||||
|
Loading…
Reference in New Issue
Block a user