Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
flycast
Commits
ccc206c4
Commit
ccc206c4
authored
Mar 10, 2016
by
Libretro-Admin
Browse files
Add FORCE_GLES switch
parent
7f8bd6de
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
ccc206c4
...
...
@@ -8,6 +8,7 @@ NO_NVMEM := 0
NO_VERIFY
:=
1
NAOMI
:=
0
NO_JIT
:=
1
FORCE_GLES
:=
0
STATIC_LINKING
:=
0
TARGET_NAME
:=
reicast
...
...
@@ -161,7 +162,10 @@ ifeq ($(WITH_DYNAREC), x86)
CFLAGS
+=
-D
TARGET_NO_AREC
endif
ifneq
(,$(findstring gles,$(platform)))
ifeq
($(FORCE_GLES),1)
GLES
=
1
GL_LIB
:=
-lGLESv2
else
ifneq
(,$(findstring gles,$(platform)))
GLES
=
1
GL_LIB
:=
-lGLESv2
else
...
...
@@ -518,7 +522,7 @@ ifeq ($(LTO_TEST),1)
endif
ifeq
($(HAVE_GL), 1)
ifeq
($(
HAVE_
GLES),1)
ifeq
($(GLES),1)
RZDCY_CFLAGS
+=
-DHAVE_OPENGLES
-DHAVE_OPENGLES2
CXXFLAGS
+=
-DHAVE_OPENGLES
-DHAVE_OPENGLES2
CFLAGS
+=
-DHAVE_OPENGLES
-DHAVE_OPENGLES2
...
...
Makefile.common
View file @
ccc206c4
...
...
@@ -98,7 +98,7 @@ SOURCES_CXX += $(CORE_DIR)/rend/gles/gles.cpp \
$(CORE_DIR)
/rend/gles/gltex.cpp
SOURCES_C
+=
$(CORE_DIR)
/libretro-common/glsym/rglgen.c
\
$(CORE_DIR)
/libretro-common/glsm/glsm.c
ifeq
($(
HAVE_
GLES), 1)
ifeq
($(GLES), 1)
SOURCES_C
+=
$(CORE_DIR)
/libretro-common/glsym/glsym_es2.c
else
SOURCES_C
+=
$(CORE_DIR)
/libretro-common/glsym/glsym_gl.c
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment