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()
if ((d->displayFilter && d->displayFilter->updateShader()) ||
(!d->displayFilter && d->displayShaderCompiledWithDisplayFilterSupport)) {
(bool(d->displayFilter) != d->displayShaderCompiledWithDisplayFilterSupport)) {
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