From f22973008dc7c0c7d91257e46d9a15f903724f0d Mon Sep 17 00:00:00 2001 From: Lorn Potter Date: Sat, 30 Jun 2018 18:05:25 +1000 Subject: wasm: rename Q_OS_HTML5 to Q_OS_WASM to reflect qtbase Change-Id: I088ae6e7d7c16a88cc6bcf2eb97898db83df4724 Reviewed-by: Eskil Abrahamsen Blomfeldt --- src/quick/scenegraph/qsgdefaultrendercontext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/quick/scenegraph') 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; } -- cgit v1.2.3