mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
Update libretro-test-gl-ff
This commit is contained in:
parent
e6aaecc2ba
commit
c6b4207d3b
@ -67,7 +67,7 @@ endif
|
|||||||
|
|
||||||
GL_LIB := -framework OpenGLES
|
GL_LIB := -framework OpenGLES
|
||||||
DEFINES := -DIOS
|
DEFINES := -DIOS
|
||||||
CFLAGS += -DGLES $(DEFINES)
|
CFLAGS += $(DEFINES)
|
||||||
CC = cc -arch armv7 -isysroot $(IOSSDK)
|
CC = cc -arch armv7 -isysroot $(IOSSDK)
|
||||||
ifeq ($(platform),ios9)
|
ifeq ($(platform),ios9)
|
||||||
CC += -miphoneos-version-min=8.0
|
CC += -miphoneos-version-min=8.0
|
||||||
@ -84,7 +84,6 @@ else ifneq (,$(findstring qnx,$(platform)))
|
|||||||
|
|
||||||
CC = qcc -Vgcc_ntoarmv7le
|
CC = qcc -Vgcc_ntoarmv7le
|
||||||
AR = qcc -Vgcc_ntoarmv7le
|
AR = qcc -Vgcc_ntoarmv7le
|
||||||
CFLAGS += -DGLES
|
|
||||||
GL_LIB := -lGLESv2
|
GL_LIB := -lGLESv2
|
||||||
GLES := 1
|
GLES := 1
|
||||||
else ifneq (,$(findstring armv,$(platform)))
|
else ifneq (,$(findstring armv,$(platform)))
|
||||||
@ -140,11 +139,11 @@ OBJECTS := libretro_gl_ff_test.o ../../libretro-common/glsym/rglgen.o
|
|||||||
CFLAGS += -Wall -pedantic $(fpic)
|
CFLAGS += -Wall -pedantic $(fpic)
|
||||||
|
|
||||||
ifeq ($(GLES), 1)
|
ifeq ($(GLES), 1)
|
||||||
CFLAGS += -DGLES -DHAVE_OPENGLES2
|
CFLAGS += -DHAVE_OPENGLES -DHAVE_OPENGLES2
|
||||||
ifeq ($(GLES31), 1)
|
ifeq ($(GLES31), 1)
|
||||||
CFLAGS += -DHAVE_OPENGLES3 -DGLES31 -DGLES3
|
CFLAGS += -DHAVE_OPENGLES3 -DHAVE_OPENGLES_3_1
|
||||||
else ifeq ($(GLES3), 1)
|
else ifeq ($(GLES3), 1)
|
||||||
CFLAGS += -DHAVE_OPENGLES3 -DGLES3
|
CFLAGS += -DHAVE_OPENGLES3
|
||||||
endif
|
endif
|
||||||
LIBS += -lGLESv2 # Still link against GLESv2 when using GLES3 API, at least on desktop Linux.
|
LIBS += -lGLESv2 # Still link against GLESv2 when using GLES3 API, at least on desktop Linux.
|
||||||
OBJECTS += ../../libretro-common/glsym/glsym_es2.o
|
OBJECTS += ../../libretro-common/glsym/glsym_es2.o
|
||||||
|
Loading…
x
Reference in New Issue
Block a user