Fixed wasm build.
This commit is contained in:
parent
5b8a8ba3da
commit
1c73c1a64a
@ -153,11 +153,6 @@ function bgfxProjectBase(_kind, _defines)
|
||||
path.join(BGFX_DIR, "3rdparty/khronos"),
|
||||
}
|
||||
|
||||
configuration { "wasm*" }
|
||||
linkoptions {
|
||||
"-sGL_ENABLE_GET_PROC_ADDRESS",
|
||||
}
|
||||
|
||||
configuration {}
|
||||
|
||||
includedirs {
|
||||
|
@ -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@/"
|
||||
|
Loading…
Reference in New Issue
Block a user