Commit 1510469d authored by Higor Eurípedes's avatar Higor Eurípedes
Browse files

(Makefile) Fix GLES build

parent 58047915
......@@ -207,9 +207,9 @@ endif
ifeq ($(HAVE_GL), 1)
ifeq ($(HAVE_GLES),1)
RZDCY_CFLAGS += -DGLES
CXXFLAGS += -DGLES
CFLAGS += -DGLES
RZDCY_CFLAGS += -DGLES -DHAVE_OPENGLES2
CXXFLAGS += -DGLES -DHAVE_OPENGLES2
CFLAGS += -DGLES -DHAVE_OPENGLES2
GL_LIB += -lEGL -lGLESv2
else
HAVE_CORE = 1
......
......@@ -104,8 +104,12 @@ ifeq ($(HAVE_GL), 1)
SOURCES_CXX += $(CORE_DIR)/rend/gles/gldraw.cpp \
$(CORE_DIR)/rend/gles/gles_libretro.cpp \
$(CORE_DIR)/rend/gles/gltex.cpp
SOURCES_C += $(CORE_DIR)/libretro-common/glsym/rglgen.c \
$(CORE_DIR)/libretro-common/glsym/glsym_gl.c
SOURCES_C += $(CORE_DIR)/libretro-common/glsym/rglgen.c
ifeq ($(HAVE_GLES), 1)
SOURCES_C += $(CORE_DIR)/libretro-common/glsym/glsym_es2.c
else
SOURCES_C += $(CORE_DIR)/libretro-common/glsym/glsym_gl.c
endif
endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment