mirror of
https://github.com/libretro/RetroArch
synced 2025-03-24 22:43:41 +00:00
Don't compile in GLX if HAVE_OPENGLES is defined
This commit is contained in:
parent
6fbd9df9d9
commit
bbd2f6054b
@ -502,12 +502,14 @@ ifeq ($(HAVE_OPENGL), 1)
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_X11), 1)
|
||||
OBJ += gfx/drivers_context/glx_ctx.o
|
||||
ifeq ($(HAVE_EGL), 1)
|
||||
OBJ += gfx/drivers_context/xegl_ctx.o
|
||||
DEFINES += $(EGL_CFLAGS)
|
||||
LIBS += $(EGL_LIBS)
|
||||
endif
|
||||
ifneq ($(HAVE_EGL), 1)
|
||||
OBJ += gfx/drivers_context/glx_ctx.o
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_WAYLAND), 1)
|
||||
|
@ -41,7 +41,7 @@ static const gfx_ctx_driver_t *gfx_ctx_drivers[] = {
|
||||
#if defined(_WIN32) && defined(HAVE_OPENGL)
|
||||
&gfx_ctx_wgl,
|
||||
#endif
|
||||
#if defined(HAVE_X11) && defined(HAVE_OPENGL)
|
||||
#if defined(HAVE_X11) && defined(HAVE_OPENGL) && !defined(HAVE_OPENGLES)
|
||||
&gfx_ctx_glx,
|
||||
#endif
|
||||
#if defined(HAVE_WAYLAND) && defined(HAVE_OPENGL) && defined(HAVE_EGL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user