]> git.sesse.net Git - movit/blobdiff - dither_effect.cpp
Remove the check for movit_shader_rounding_supported, as we now demand 1.30 unconditi...
[movit] / dither_effect.cpp
index 574d70a5cf82bcfc1adac94b8e8a50a5a00d1668..3fa6aebc3fa8f674674ca37e37ac6932be78c6fe 100644 (file)
@@ -51,7 +51,7 @@ DitherEffect::~DitherEffect()
 string DitherEffect::output_fragment_shader()
 {
        char buf[256];
-       sprintf(buf, "#define NEED_EXPLICIT_ROUND %d\n", (movit_num_wrongly_rounded > 0 && movit_shader_rounding_supported));
+       sprintf(buf, "#define NEED_EXPLICIT_ROUND %d\n", (movit_num_wrongly_rounded > 0));
        return buf + read_file("dither_effect.frag");
 }