Commit fec0f412 authored by Dmitry Kazakov's avatar Dmitry Kazakov

Fix updating the shader when OCIO is activated after being deactivated

parent 55d85b3a
......@@ -704,7 +704,7 @@ void KisOpenGLCanvas2::renderCanvasGL()
glClear(GL_COLOR_BUFFER_BIT);
if ((d->displayFilter && d->displayFilter->updateShader()) ||
(!d->displayFilter && d->displayShaderCompiledWithDisplayFilterSupport)) {
(bool(d->displayFilter) != d->displayShaderCompiledWithDisplayFilterSupport)) {
KIS_SAFE_ASSERT_RECOVER_NOOP(d->canvasInitialized);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment