projects
/
konrad/qtdeclarative.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
931f631
)
Use QWindow's surface format for QSGCanvas' GL context
author
Gunnar Sletta
<gunnar.sletta@nokia.com>
Thu, 15 Sep 2011 10:35:27 +0000 (12:35 +0200)
committer
Qt by Nokia
<qt-info@nokia.com>
Thu, 15 Sep 2011 11:33:16 +0000 (13:33 +0200)
Change-Id: Ibca3b126405e2c7a0deaad55151c1bd2b284cf93
Reviewed-on: http://codereview.qt-project.org/4972
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Samuel Rødal <samuel.rodal@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
49057ca
..
749099c
100644
(file)
--- a/
src/declarative/items/qsgcanvas.cpp
+++ b/
src/declarative/items/qsgcanvas.cpp
@@
-1831,6
+1831,7
@@
QImage QSGCanvas::grabFrameBuffer()
void QSGCanvasRenderLoop::createGLContext()
{
gl = new QOpenGLContext();
+ gl->setFormat(renderer->format());
gl->create();
}