]> git.sesse.net Git - movit/blobdiff - dither_effect.h
Fix an issue where a (cached) shader program could be used from multiple
[movit] / dither_effect.h
index e5805862011c94b36c608fe804cb0f2a6a121bca..921a1ef5e1130ca6184e401fe06e8b267b4c67e2 100644 (file)
@@ -78,6 +78,9 @@ private:
        int texture_width, texture_height;
 
        GLuint texnum;
+       float uniform_round_fac, uniform_inv_round_fac;
+       float uniform_tc_scale[2];
+       GLint uniform_dither_tex;
 };
 
 }  // namespace movit