aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@digia.com>2014-09-15 21:48:30 +0200
committerMorten Johan Sørvig <morten.sorvig@qt.io>2016-05-13 13:32:08 +0000
commitb6d3bae80317d854d78b5880d8d46cacd0d1a64e (patch)
tree4ecd01dac33105436efefd123247b02851918a60 /src/quick/scenegraph
parent872a05475721ad771bd347d1526035e6e7479d30 (diff)
QtDeclarative fixes and workarounds for NaClwip/nacl
Make QtDeclarative run on Native Client. Some of these should be looked at more closely at a later point in time, but will do as workarounds from now. Change-Id: Ifddcb45b190c3a80c6137772a05ababb5466ea22 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/quick/scenegraph')
-rw-r--r--src/quick/scenegraph/qsgcontext.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/quick/scenegraph/qsgcontext.cpp b/src/quick/scenegraph/qsgcontext.cpp
index dd6977e42e..836b043c39 100644
--- a/src/quick/scenegraph/qsgcontext.cpp
+++ b/src/quick/scenegraph/qsgcontext.cpp
@@ -634,6 +634,11 @@ void QSGRenderContext::initialize(QOpenGLContext *context)
m_brokenIBOs = true;
#endif
+#ifdef Q_OS_NACL
+ // Standard path fails with "glBindBuffer: buffer bound to more than 1 target"
+ m_brokenIBOs = true;
+#endif
+
emit initialized();
}