mirror of
https://github.com/libretro/RetroArch
synced 2025-04-03 01:21:10 +00:00
Add HAVE_BUILTIN_AUTOCONFIG for SDL2/Emscripten
This commit is contained in:
parent
49d52b8ca2
commit
ba52d6728a
@ -6,7 +6,7 @@ EOPTS = $(addprefix -s $(EMPTY), $(EOPT)) # Add '-s ' to each option
|
|||||||
OS = Emscripten
|
OS = Emscripten
|
||||||
OBJ :=
|
OBJ :=
|
||||||
DEFINES := -DRARCH_INTERNAL -DHAVE_OVERLAY -DHAVE_MAIN
|
DEFINES := -DRARCH_INTERNAL -DHAVE_OVERLAY -DHAVE_MAIN
|
||||||
DEFINES += -DHAVE_OPENGL -DHAVE_OPENGLES -DHAVE_OPENGLES2 -DHAVE_EGL -DHAVE_OVERLAY -DHAVE_GLSL -DHAVE_FILTERS_BUILTIN
|
DEFINES += -DHAVE_OPENGL -DHAVE_OPENGLES -DHAVE_OPENGLES2 -DHAVE_EGL -DHAVE_OVERLAY -DHAVE_GLSL -DHAVE_FILTERS_BUILTIN
|
||||||
|
|
||||||
HAVE_EGL = 1
|
HAVE_EGL = 1
|
||||||
HAVE_OPENGL = 1
|
HAVE_OPENGL = 1
|
||||||
@ -30,7 +30,7 @@ ifneq ($(NATIVE_ZLIB),)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(HAVE_SDL2), 1)
|
ifeq ($(HAVE_SDL2), 1)
|
||||||
DEFINES += -DHAVE_SDL2
|
DEFINES += -DHAVE_SDL2 -DHAVE_BUILTIN_AUTOCONFIG
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#if you compile with SDL2 flag add this Emscripten flag "-s USE_SDL=2" to LDFLAGS:
|
#if you compile with SDL2 flag add this Emscripten flag "-s USE_SDL=2" to LDFLAGS:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user