diff options
-rw-r--r-- | src/declarative/items/qsgcanvas.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/items/qsgcanvas.cpp b/src/declarative/items/qsgcanvas.cpp index 49057cadc8..749099c793 100644 --- 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(); } |