projects
/
profile
/
ivi
/
qtdeclarative.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use QWindow's surface format for QSGCanvas' GL context
[profile/ivi/qtdeclarative.git]
/
src
/
declarative
/
items
/
qsgcanvas.cpp
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();
}