diff --git a/scene_opengl.cpp b/scene_opengl.cpp index e4baa755b3..b9ddb34082 100644 --- a/scene_opengl.cpp +++ b/scene_opengl.cpp @@ -1549,8 +1549,8 @@ void SceneOpenGL2Window::performPaint(int mask, QRegion region, WindowPaintData traits |= ShaderTrait::AdjustSaturation; shader = ShaderManager::instance()->pushShader(traits); - shader->setUniform(GLShader::ModelViewProjectionMatrix, mvpMatrix); } + shader->setUniform(GLShader::ModelViewProjectionMatrix, mvpMatrix); if (ColorCorrection *cc = scene->colorCorrection()) { cc->setupForOutput(data.screen());