mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 09:32:52 +00:00
Rename GLES_LIBS/GLES_CFLAGS to OPENGLES_LIBS/OPENGLES_CFLAGS
This commit is contained in:
parent
3cbc03b675
commit
8831d19008
@ -769,8 +769,8 @@ endif
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_OPENGLES), 1)
|
||||
LIBS += $(GLES_LIBS)
|
||||
DEFINES += $(GLES_CFLAGS) -DHAVE_OPENGLES
|
||||
LIBS += $(OPENGLES_LIBS)
|
||||
DEFINES += $(OPENGLES_CFLAGS) -DHAVE_OPENGLES
|
||||
ifeq ($(HAVE_OPENGLES3), 1)
|
||||
DEFINES += -DHAVE_OPENGLES3
|
||||
else
|
||||
|
@ -339,13 +339,13 @@ check_pkgconf LIBXML2 libxml-2.0
|
||||
|
||||
if [ "$HAVE_EGL" = "yes" ]; then
|
||||
if [ "$HAVE_OPENGLES" != "no" ]; then
|
||||
if [ "$GLES_LIBS" ] || [ "$GLES_CFLAGS" ]; then
|
||||
echo "Notice: Using custom OpenGLES CFLAGS ($GLES_CFLAGS) and LDFLAGS ($GLES_LIBS)."
|
||||
add_define_make GLES_LIBS "$GLES_LIBS"
|
||||
add_define_make GLES_CFLAGS "$GLES_CFLAGS"
|
||||
if [ "$OPENGLES_LIBS" ] || [ "$OPENGLES_CFLAGS" ]; then
|
||||
echo "Notice: Using custom OpenGLES CFLAGS ($OPENGLES_CFLAGS) and LDFLAGS ($OPENGLES_LIBS)."
|
||||
add_define_make OPENGLES_LIBS "$OPENGLES_LIBS"
|
||||
add_define_make OPENGLES_CFLAGS "$OPENGLES_CFLAGS"
|
||||
else
|
||||
HAVE_OPENGLES=auto check_pkgconf GLES glesv2
|
||||
[ "$HAVE_OPENGLES" = "no" ] && HAVE_OPENGLES=auto check_lib GLES "-lGLESv2 $EXTRA_GL_LIBS" && add_define_make GLES_LIBS "-lGLESv2 $EXTRA_GL_LIBS"
|
||||
HAVE_OPENGLES=auto check_pkgconf OPENGLES glesv2
|
||||
[ "$HAVE_OPENGLES" = "no" ] && HAVE_OPENGLES=auto check_lib OPENGLES "-lGLESv2 $EXTRA_GL_LIBS" && add_define_make OPENGLES_LIBS "-lGLESv2 $EXTRA_GL_LIBS"
|
||||
fi
|
||||
fi
|
||||
if [ "$HAVE_VG" != "no" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user