diff --git a/scripts/bgfx.lua b/scripts/bgfx.lua index b0b9afc20..cbcb51c7a 100644 --- a/scripts/bgfx.lua +++ b/scripts/bgfx.lua @@ -153,11 +153,6 @@ function bgfxProjectBase(_kind, _defines) path.join(BGFX_DIR, "3rdparty/khronos"), } - configuration { "wasm*" } - linkoptions { - "-sGL_ENABLE_GET_PROC_ADDRESS", - } - configuration {} includedirs { diff --git a/scripts/genie.lua b/scripts/genie.lua index 3795922bf..fcf79afb4 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -362,6 +362,7 @@ function exampleProjectDefaults() kind "ConsoleApp" linkoptions { + "-sGL_ENABLE_GET_PROC_ADDRESS", "-s TOTAL_MEMORY=32MB", "-s ALLOW_MEMORY_GROWTH=1", "--preload-file ../../../examples/runtime@/"