Skip to content

Commit e52ae87

Browse files
committed
Reverted Makefile GL_ENABLE_GET_PROC_ADDRESS #3713
1 parent ea31bd4 commit e52ae87

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
311311
# --memory-init-file 0 # to avoid an external memory initialization code file (.mem)
312312
# --preload-file resources # specify a resources folder for data compilation
313313
# --source-map-base # allow debugging in browser with source map
314-
LDFLAGS += -sUSE_GLFW=3 -sTOTAL_MEMORY=$(BUILD_WEB_HEAP_SIZE) -sFORCE_FILESYSTEM=1 -sGL_ENABLE_GET_PROC_ADDRESS
314+
LDFLAGS += -sUSE_GLFW=3 -sTOTAL_MEMORY=$(BUILD_WEB_HEAP_SIZE) -sFORCE_FILESYSTEM=1
315315

316316
# Build using asyncify
317317
ifeq ($(BUILD_WEB_ASYNCIFY),TRUE)

examples/Makefile.Web

+1-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
258258
# --memory-init-file 0 # to avoid an external memory initialization code file (.mem)
259259
# --preload-file resources # specify a resources folder for data compilation
260260
# --source-map-base # allow debugging in browser with source map
261-
LDFLAGS += -sUSE_GLFW=3 -sASYNCIFY -sEXPORTED_RUNTIME_METHODS=ccall -sGL_ENABLE_GET_PROC_ADDRESS
261+
LDFLAGS += -sUSE_GLFW=3 -sASYNCIFY -sEXPORTED_RUNTIME_METHODS=ccall
262262

263263
# NOTE: Simple raylib examples are compiled to be interpreter with asyncify, that way,
264264
# we can compile same code for ALL platforms with no change required, but, working on bigger

src/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
360360
ifeq ($(RAYLIB_BUILD_MODE),DEBUG)
361361
CFLAGS += -sASSERTIONS=1 --profiling
362362
endif
363-
CFLAGS += -sGL_ENABLE_GET_PROC_ADDRESS
363+
#CFLAGS += -sGL_ENABLE_GET_PROC_ADDRESS
364364
endif
365365
ifeq ($(PLATFORM),PLATFORM_ANDROID)
366366
# Compiler flags for arquitecture

0 commit comments

Comments
 (0)