Fixed wasm build.

This commit is contained in:
Бранимир Караџић 2023-12-15 07:55:48 -08:00
parent 5b8a8ba3da
commit 1c73c1a64a
2 changed files with 1 additions and 5 deletions

View File

@ -153,11 +153,6 @@ function bgfxProjectBase(_kind, _defines)
path.join(BGFX_DIR, "3rdparty/khronos"),
}
configuration { "wasm*" }
linkoptions {
"-sGL_ENABLE_GET_PROC_ADDRESS",
}
configuration {}
includedirs {

View File

@ -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@/"