Fix T51308: Bright/Contrast Doesn't respect Pre-multiplied Alpha
[blender.git] / source / blender / compositor / operations / COM_BrightnessOperation.h
index 22086ae11e83cc43f55a0ae1614acebb8c221df0..ff492f2b102c3fc21a07559ad1be1c58fd20a93c 100644 (file)
@@ -34,6 +34,8 @@ private:
        SocketReader *m_inputBrightnessProgram;
        SocketReader *m_inputContrastProgram;
 
+       bool m_use_premultiply;
+
 public:
        BrightnessOperation();
        
@@ -52,5 +54,6 @@ public:
         */
        void deinitExecution();
 
+       void setUsePremultiply(bool use_premultiply);
 };
 #endif