From: Dan Dennedy Date: Thu, 27 Mar 2014 03:17:12 +0000 (-0700) Subject: Fix typo in luma_mix shader. X-Git-Tag: 1.1~13 X-Git-Url: https://git.sesse.net/?p=movit;a=commitdiff_plain;h=eb7b041eed00003662057affe216de6cdeaaf7a2 Fix typo in luma_mix shader. --- diff --git a/luma_mix_effect.frag b/luma_mix_effect.frag index 709d192..c8a05c1 100644 --- a/luma_mix_effect.frag +++ b/luma_mix_effect.frag @@ -39,7 +39,7 @@ vec4 FUNCNAME(vec2 tc) { float w = PREFIX(transition_width); float luma = INPUT3(tc).x; if (PREFIX(inverse)) { - luma = 1.0f - luma; + luma = 1.0 - luma; } float m = clamp((luma * w - w) + PREFIX(progress_mul_w_plus_one), 0.0, 1.0);