What's Changed
- Removed built-in SCons support (
emsconsandtools/scons), which was
deprecated in 6.0.11 (#27848). Projects using SCons with Emscripten can
configureCC,CXX,AR, andRANLIBdirectly to useemcc,em++,
emar, andemranlib. (See #27835) - The WebGL extensions
EXT_render_snorm,EXT_texture_mirror_clamp_to_edge,
OES_sample_variables,OES_shader_multisample_interpolation,
WEBGL_compressed_texture_pvrtc,WEBGL_render_shared_exponentand
WEBGL_stencil_texturingare now enabled automatically at context creation
and advertised in theGL_EXTENSIONSstring, like the other supported
extensions. Previously they could only be enabled by calling
emscripten_webgl_enable_extension()explicitly. (#28372) -jsDFOO=0and-jsDFOO=falsenow passFOOto JS library code asfalse
rather than as the truthy strings'0'and'false', so that#if FOOis
false. Other values are still passed as strings. (#28364)- The desktop OpenGL functions
glClearDepth()andglDepthRange()were
misplaced and linked as part of WebGL and GLES2/3 targeting builds. They
are now moved correctly into-sLEGACY_GL_EMULATIONmode. In GLES and WebGL,
use the correct API functionsglClearDepthf()andglDepthRangef()instead.
(#28379) - mimalloc was updated to 3.7.1. (#28399)
- The
--emrunlinker flag can again be used together with-sEXIT_RUNTIME=0,
which was made an error in 3.1.74.--emrunstill enablesEXIT_RUNTIMEby
default, but if it is explicitly disabled, the runtime is now kept alive
aftermain()returns.emrunthen capturesstdoutandstderras
before, but the page does not report an exit code to it. (#28407)
Contributors
Thanks to the following contributors: @juj (123) @sbc100 (23) @ryanking13 (4) @brendandahl (2) @b1ink0 (1) @blackbird-aslough (1) @clementperon (1) @dschuff (1) @kleisauke (1)
New Contributors
- @b1ink0 made their first contribution in #28414
- @blackbird-aslough made their first contribution in #28402
Full Changelog: 7.0.1...7.0.2