From: Steinar H. Gunderson Date: Wed, 7 Oct 2015 19:03:24 +0000 (+0200) Subject: Fix another #if issue, this time in dither_effect.frag. Reported by Dan Dennedy. X-Git-Tag: 1.3.0~26 X-Git-Url: https://git.sesse.net/?p=movit;a=commitdiff_plain;h=27496ee4620a3b5380f9d5f2a827d6c599bc1a39;ds=sidebyside Fix another #if issue, this time in dither_effect.frag. Reported by Dan Dennedy. --- diff --git a/dither_effect.frag b/dither_effect.frag index f271b63..f12530d 100644 --- a/dither_effect.frag +++ b/dither_effect.frag @@ -3,6 +3,11 @@ // uniform vec2 PREFIX(tc_scale); // uniform float PREFIX(round_fac), PREFIX(inv_round_fac); +// See footer.frag for details about this if statement. +#ifndef YCBCR_ALSO_OUTPUT_RGBA +#define YCBCR_ALSO_OUTPUT_RGBA 0 +#endif + #if YCBCR_ALSO_OUTPUT_RGBA // There are two values to dither; otherwise, exactly the same as the algorithm below