diff options
author | Gunnar Sletta <gunnar.sletta@jollamobile.com> | 2015-05-22 08:34:42 +0200 |
---|---|---|
committer | Gunnar Sletta <gunnar@sletta.org> | 2015-05-22 08:45:56 +0000 |
commit | a8410384e3b74b0b057422f7faa1f772b7b38fbf (patch) | |
tree | 76aa3bbae3069e0efa73e6fb99af228ba776babb /src/quick/scenegraph/qsgthreadedrenderloop.cpp | |
parent | bc846fa530d5220589f138772f45c060f2254587 (diff) |
Don't doneCurrent() on hide().
This hurts interoperability with OpenCL on windows and the other
renderloops don't do it either, so to be consistent, lets not.
Change-Id: Ie06842957561c8933690633469b8b3a026ff399b
Task-number: QTBUG-46273
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Diffstat (limited to 'src/quick/scenegraph/qsgthreadedrenderloop.cpp')
-rw-r--r-- | src/quick/scenegraph/qsgthreadedrenderloop.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/quick/scenegraph/qsgthreadedrenderloop.cpp b/src/quick/scenegraph/qsgthreadedrenderloop.cpp index f7e55c7e28..417a8e6468 100644 --- a/src/quick/scenegraph/qsgthreadedrenderloop.cpp +++ b/src/quick/scenegraph/qsgthreadedrenderloop.cpp @@ -356,7 +356,6 @@ bool QSGRenderThread::event(QEvent *e) if (window) { QQuickWindowPrivate::get(window)->fireAboutToStop(); qCDebug(QSG_LOG_RENDERLOOP) << QSG_RT_PAD << "- window removed"; - gl->doneCurrent(); window = 0; } waitCondition.wakeOne(); |