From d2f37a73dd939e83a914718fbf79388cd48a6c3b Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Wed, 2 Oct 2019 20:31:38 +0100 Subject: [PATCH] [plugins/scenes] match push/pop shaders in paintEffectQuickView --- plugins/scenes/opengl/scene_opengl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/scenes/opengl/scene_opengl.cpp b/plugins/scenes/opengl/scene_opengl.cpp index d9dca9723b..157159c526 100644 --- a/plugins/scenes/opengl/scene_opengl.cpp +++ b/plugins/scenes/opengl/scene_opengl.cpp @@ -880,7 +880,8 @@ void SceneOpenGL::paintEffectQuickView(EffectQuickView *w) t->render(QRegion(infiniteRegion()), w->geometry()); t->unbind(); glDisable(GL_BLEND); - return; + + ShaderManager::instance()->popShader(); } bool SceneOpenGL::makeOpenGLContextCurrent()