summaryrefslogtreecommitdiffstats
path: root/src/gui/configure.json
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@gmail.com>2018-04-06 15:57:49 +1000
committerLorn Potter <lorn.potter@gmail.com>2019-11-28 00:07:53 +0000
commit20891777bb8b295a26e3fb2b9f5b2c59fcff66dd (patch)
tree7e55a53b221261b7da7daeeb458a1d1a6caa850a /src/gui/configure.json
parente70fe301d919d059ad982574660149a1233a9649 (diff)
webassembly: enable opengl es3
Our WebGL 2 support is half finished, since we use surface format verion of 3 to map to webgl2, but do not enable Open GL ES3 needed for WebGL2 support. This allows glDrawArrays and glDrawElements to be used Change-Id: Ifbd434f4d25e49f671145a6727999a90920d6810 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io> Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/gui/configure.json')
-rw-r--r--src/gui/configure.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/configure.json b/src/gui/configure.json
index 134a2e0a15..7f4d7cc6af 100644
--- a/src/gui/configure.json
+++ b/src/gui/configure.json
@@ -1315,7 +1315,7 @@
},
"opengles3": {
"label": "OpenGL ES 3.0",
- "condition": "features.opengles2 && !features.angle && tests.opengles3 && !config.wasm",
+ "condition": "features.opengles2 && !features.angle && tests.opengles3",
"output": [
"publicFeature",
{ "type": "define", "name": "QT_OPENGL_ES_3" }