From 564c64f76a504d3b38c8c83525f912d432290d11 Mon Sep 17 00:00:00 2001 From: Colleague Riley Date: Wed, 4 Sep 2024 12:41:26 -0400 Subject: [PATCH] Update Makefile --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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