diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-05-08 16:59:00 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-05-08 16:59:00 +0300 |
commit | 81ecd3f938ee0e0d02d71f6c6c21a5c0246055d4 (patch) | |
tree | 5b11f6cf60e0c4fa3275dc0baeb0ba986fbfce81 /source/blender/editors/include/BIF_glutil.h | |
parent | 0719a1bce0bdb0e4725b749a5f31680c1b8d6d65 (diff) |
Fix OCIO shader being attmepted to be unbound twice
Diffstat (limited to 'source/blender/editors/include/BIF_glutil.h')
-rw-r--r-- | source/blender/editors/include/BIF_glutil.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/include/BIF_glutil.h b/source/blender/editors/include/BIF_glutil.h index 1477d20f7f1..3184ebee4d9 100644 --- a/source/blender/editors/include/BIF_glutil.h +++ b/source/blender/editors/include/BIF_glutil.h @@ -71,6 +71,7 @@ typedef struct IMMDrawPixelsTexState { struct GPUShader *shader; unsigned int pos; unsigned int texco; + bool do_shader_unbind; } IMMDrawPixelsTexState; /* To be used before calling immDrawPixelsTex |