aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@gmail.com>2018-06-30 18:05:25 +1000
committerLorn Potter <lorn.potter@gmail.com>2018-07-18 19:46:42 +0000
commitf22973008dc7c0c7d91257e46d9a15f903724f0d (patch)
tree950847d075618ec3856ba7a58379ae423e9f17f0 /src/quick
parenta62637358f23546a9edef397fd4d5869a16f0645 (diff)
wasm: rename Q_OS_HTML5 to Q_OS_WASM to reflect qtbasewip/webassembly
Change-Id: I088ae6e7d7c16a88cc6bcf2eb97898db83df4724 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/quick')
-rw-r--r--src/quick/scenegraph/qsgdefaultrendercontext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/qsgdefaultrendercontext.cpp b/src/quick/scenegraph/qsgdefaultrendercontext.cpp
index a6459dbd78..e083847748 100644
--- a/src/quick/scenegraph/qsgdefaultrendercontext.cpp
+++ b/src/quick/scenegraph/qsgdefaultrendercontext.cpp
@@ -326,7 +326,7 @@ bool QSGDefaultRenderContext::separateIndexBuffer() const
// target will generate an INVALID_OPERATION error, and the
// current binding will remain untouched.
static const bool isWebGL = (qGuiApp->platformName().compare(QLatin1String("webgl")) == 0
- || qGuiApp->platformName().compare(QLatin1String("html5")) == 0);
+ || qGuiApp->platformName().compare(QLatin1String("webassembly")) == 0);
return isWebGL;
}