Change Makefile.emscripten

This commit is contained in:
twinaphex 2018-01-12 03:16:15 +01:00
parent e099b8150c
commit db034b8a12
2 changed files with 4 additions and 2 deletions

View File

@ -1107,6 +1107,7 @@ endif
endif
ifeq ($(HAVE_EGL), 1)
DEFINES += -DHAVE_EGL
OBJ += gfx/common/egl_common.o
endif

View File

@ -6,9 +6,10 @@ EOPTS = $(addprefix -s $(EMPTY), $(EOPT)) # Add '-s ' to each option
PTHREAD = 0
OS = Emscripten
OBJ :=
DEFINES := -DRARCH_INTERNAL -DHAVE_OVERLAY -DHAVE_MAIN -s USE_PTHREADS=$(PTHREAD)
DEFINES += -DHAVE_OPENGL -DHAVE_OPENGLES -DHAVE_OPENGLES2 -DHAVE_EGL -DHAVE_OVERLAY -DHAVE_GLSL -DHAVE_FILTERS_BUILTIN
DEFINES := -DRARCH_INTERNAL -DHAVE_MAIN -s USE_PTHREADS=$(PTHREAD)
DEFINES += -DHAVE_OPENGL -DHAVE_OPENGLES -DHAVE_OPENGLES2 -DHAVE_GLSL -DHAVE_FILTERS_BUILTIN
HAVE_OVERLAY = 1
HAVE_CC_RESAMPLER = 1
HAVE_EGL = 1
HAVE_OPENGLES = 1