CONFIGURE: Add AmigaOS4 GLESv2 implementation

This commit is contained in:
Hubert Maier 2019-07-17 10:43:58 +02:00 committed by GitHub
parent c2e9c668e7
commit 657c09c976
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

19
configure vendored
View File

@ -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*)