diff options
author | Jan Arne Petersen <jan.petersen@kdab.com> | 2015-01-13 11:23:10 +0100 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2015-05-02 14:32:14 +0000 |
commit | b999aaaf4e3f4069fb57e016cfa7461eb15e0992 (patch) | |
tree | 05e1a9dda279bb31480284de0dcd27ba64f2a4a7 /src/quick/scenegraph | |
parent | a6fb18f1865aff8b96dfba1e341019371b5fa9f2 (diff) |
Diffstat (limited to 'src/quick/scenegraph')
-rw-r--r-- | src/quick/scenegraph/qsgthreadedrenderloop.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quick/scenegraph/qsgthreadedrenderloop.cpp b/src/quick/scenegraph/qsgthreadedrenderloop.cpp index 26a0e78254..f9f973fe2a 100644 --- a/src/quick/scenegraph/qsgthreadedrenderloop.cpp +++ b/src/quick/scenegraph/qsgthreadedrenderloop.cpp @@ -906,6 +906,7 @@ void QSGThreadedRenderLoop::handleExposure(QQuickWindow *window) if (qt_gl_global_share_context()) w->thread->gl->setShareContext(qt_gl_global_share_context()); w->thread->gl->setFormat(w->window->requestedFormat()); + w->thread->gl->setScreen(w->window->screen()); if (!w->thread->gl->create()) { const bool isEs = w->thread->gl->isOpenGLES(); delete w->thread->gl; |