Replace deprecated USE_WEBGL2
linker flag
This commit is contained in:
parent
5241d30bfa
commit
5a01c2e954
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ def configure(env: "SConsEnvironment"):
|
||||||
if env["opengl3"]:
|
if env["opengl3"]:
|
||||||
env.AppendUnique(CPPDEFINES=["GLES3_ENABLED"])
|
env.AppendUnique(CPPDEFINES=["GLES3_ENABLED"])
|
||||||
# This setting just makes WebGL 2 APIs available, it does NOT disable WebGL 1.
|
# This setting just makes WebGL 2 APIs available, it does NOT disable WebGL 1.
|
||||||
env.Append(LINKFLAGS=["-s", "USE_WEBGL2=1"])
|
env.Append(LINKFLAGS=["-s", "MAX_WEBGL_VERSION=2"])
|
||||||
# Allow use to take control of swapping WebGL buffers.
|
# Allow use to take control of swapping WebGL buffers.
|
||||||
env.Append(LINKFLAGS=["-s", "OFFSCREEN_FRAMEBUFFER=1"])
|
env.Append(LINKFLAGS=["-s", "OFFSCREEN_FRAMEBUFFER=1"])
|
||||||
# Breaking change since emscripten 3.1.51
|
# Breaking change since emscripten 3.1.51
|
||||||
|
|
Loading…
Reference in a new issue