Diffusion Krita 5e22097b3119

Fix crash in OCIO filter

Authored by dkazakov on Apr 1 2016, 6:42 PM.

Description

Fix crash in OCIO filter

We should update the shader only when the correct openGL context
is active. So just add a callback that does the work and call it from
the canvas when needed.

Fixes T1185