X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=dither_effect.cpp;fp=dither_effect.cpp;h=3fa6aebc3fa8f674674ca37e37ac6932be78c6fe;hp=574d70a5cf82bcfc1adac94b8e8a50a5a00d1668;hb=bb8f46837ca4dfa2d085dfbf62e5c27136778712;hpb=f6dc1c0685ea7d3bb74e00698cb7221cd03c2bc5 diff --git a/dither_effect.cpp b/dither_effect.cpp index 574d70a..3fa6aeb 100644 --- a/dither_effect.cpp +++ b/dither_effect.cpp @@ -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"); }