diff --git a/Makefile b/Makefile index eea9d52..d6fc0f2 100644 --- a/Makefile +++ b/Makefile @@ -66,10 +66,10 @@ ifneq (,$(filter $(CC),cl /opt/msvc/bin/x64/cl.exe /opt/msvc/bin/x86/cl.exe)) OBJ_FILE = .obj else ifeq ($(CC),emcc) LINK_GL1 = -s LEGACY_GL_EMULATION -D LEGACY_GL_EMULATION -sGL_UNSAFE_OPTS=0 - LINK_GL3 = -s FULL_ES3 - LINK_GL2 = -s FULL_ES2 + LINK_GL3 = -s FULL_ES3 -s USE_WEBGL2 + LINK_GL2 = -s FULL_ES2 -s USE_WEBGL2 EXPORTED_JS = -s EXPORTED_RUNTIME_METHODS="['stringToNewUTF8']" - LIBS = -s WASM=1 -s ASYNCIFY -s USE_WEBGL2 -s GL_SUPPORT_EXPLICIT_SWAP_CONTROL=1 $(EXPORTED_JS) + LIBS = -s WASM=1 -s ASYNCIFY -s GL_SUPPORT_EXPLICIT_SWAP_CONTROL=1 $(EXPORTED_JS) EXT = .js NO_GLES = 0 NO_VULKAN = 1