diff options
author | Lorn Potter <lorn.potter@gmail.com> | 2018-06-30 18:05:25 +1000 |
---|---|---|
committer | Lorn Potter <lorn.potter@gmail.com> | 2018-07-18 19:46:42 +0000 |
commit | f22973008dc7c0c7d91257e46d9a15f903724f0d (patch) | |
tree | 950847d075618ec3856ba7a58379ae423e9f17f0 /src/quick/scenegraph | |
parent | a62637358f23546a9edef397fd4d5869a16f0645 (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/scenegraph')
-rw-r--r-- | src/quick/scenegraph/qsgdefaultrendercontext.cpp | 2 |
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; } |