projects
/
konrad/qtdeclarative.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
a7be892
)
We need to set the OpenGLSurface surface type on QSGCanvas.
author
Samuel Rødal
<samuel.rodal@nokia.com>
Wed, 14 Sep 2011 13:51:20 +0000 (15:51 +0200)
committer
Qt by Nokia
<qt-info@nokia.com>
Thu, 15 Sep 2011 08:22:43 +0000 (10:22 +0200)
Change-Id: Ib0ea343399b703c3437603918d97fc925e2adc4c
Reviewed-on: http://codereview.qt-project.org/4908
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Paul Olav Tvete <paul.tvete@nokia.com>
src/declarative/items/qsgcanvas.cpp
patch
|
blob
|
history
diff --git
a/src/declarative/items/qsgcanvas.cpp
b/src/declarative/items/qsgcanvas.cpp
index
9d1320b
..
49057ca
100644
(file)
--- a/
src/declarative/items/qsgcanvas.cpp
+++ b/
src/declarative/items/qsgcanvas.cpp
@@
-457,6
+457,8
@@
void QSGCanvasPrivate::init(QSGCanvas *c)
context = QSGContext::createDefaultContext();
thread->moveContextToThread(context);
+
+ q->setSurfaceType(QWindow::OpenGLSurface);
}
void QSGCanvasPrivate::transformTouchPoints(QList<QTouchEvent::TouchPoint> &touchPoints, const QTransform &transform)