From e52ae870f297961b9ac23d2e6eca4937a24ac6c0 Mon Sep 17 00:00:00 2001 From: Ray Date: Mon, 5 Feb 2024 21:38:13 +0100 Subject: [PATCH] Reverted Makefile `GL_ENABLE_GET_PROC_ADDRESS` #3713 --- examples/Makefile | 2 +- examples/Makefile.Web | 2 +- src/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/Makefile b/examples/Makefile index b48557baa8ff..c5bc8b74b056 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -311,7 +311,7 @@ ifeq ($(PLATFORM),PLATFORM_WEB) # --memory-init-file 0 # to avoid an external memory initialization code file (.mem) # --preload-file resources # specify a resources folder for data compilation # --source-map-base # allow debugging in browser with source map - LDFLAGS += -sUSE_GLFW=3 -sTOTAL_MEMORY=$(BUILD_WEB_HEAP_SIZE) -sFORCE_FILESYSTEM=1 -sGL_ENABLE_GET_PROC_ADDRESS + LDFLAGS += -sUSE_GLFW=3 -sTOTAL_MEMORY=$(BUILD_WEB_HEAP_SIZE) -sFORCE_FILESYSTEM=1 # Build using asyncify ifeq ($(BUILD_WEB_ASYNCIFY),TRUE) diff --git a/examples/Makefile.Web b/examples/Makefile.Web index 971e81830904..204db50ccae1 100644 --- a/examples/Makefile.Web +++ b/examples/Makefile.Web @@ -258,7 +258,7 @@ ifeq ($(PLATFORM),PLATFORM_WEB) # --memory-init-file 0 # to avoid an external memory initialization code file (.mem) # --preload-file resources # specify a resources folder for data compilation # --source-map-base # allow debugging in browser with source map - LDFLAGS += -sUSE_GLFW=3 -sASYNCIFY -sEXPORTED_RUNTIME_METHODS=ccall -sGL_ENABLE_GET_PROC_ADDRESS + LDFLAGS += -sUSE_GLFW=3 -sASYNCIFY -sEXPORTED_RUNTIME_METHODS=ccall # NOTE: Simple raylib examples are compiled to be interpreter with asyncify, that way, # we can compile same code for ALL platforms with no change required, but, working on bigger diff --git a/src/Makefile b/src/Makefile index 34e2b574b318..f38257b0db42 100644 --- a/src/Makefile +++ b/src/Makefile @@ -360,7 +360,7 @@ ifeq ($(PLATFORM),PLATFORM_WEB) ifeq ($(RAYLIB_BUILD_MODE),DEBUG) CFLAGS += -sASSERTIONS=1 --profiling endif - CFLAGS += -sGL_ENABLE_GET_PROC_ADDRESS + #CFLAGS += -sGL_ENABLE_GET_PROC_ADDRESS endif ifeq ($(PLATFORM),PLATFORM_ANDROID) # Compiler flags for arquitecture