diff options
| author | Lorn Potter <lorn.potter@gmail.com> | 2022-06-20 16:19:32 +1000 |
|---|---|---|
| committer | Lorn Potter <lorn.potter@gmail.com> | 2022-06-22 13:59:25 +1000 |
| commit | 1e2d67152fe2c32112b721f68983eeb30825daee (patch) | |
| tree | 00b33ac4ddee18a03538afb8d3c887e0f051e955 /src/corelib/serialization/qjsonobject.cpp | |
| parent | 73d04340ad130ec9efbd740823b37f1579369949 (diff) | |
wasm: Optimize use of opengles
- USE_WEBGL2 is depreciated, Emscripten now uses MAX_WEBGL_VERSION
- Optimize and remove use of emulated ES2 and ES3, which means
only use WebGL friendly subset.
Users can add USE_ES3=1 and USE_ES2=1 to the final linker arguments
for those respective versions in order to enable using
glDrawArrays and glDrawElements with unbound buffers.
See https://emscripten.org/docs/porting/multimedia_and_graphics/OpenGL-support.html
Pick-to: 6.4
Change-Id: I11ae359966964b3e7aa6e61ccc714c2bfbf61f96
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/corelib/serialization/qjsonobject.cpp')
0 files changed, 0 insertions, 0 deletions
