From: Steinar H. Gunderson Date: Mon, 1 Oct 2012 18:25:36 +0000 (+0200) Subject: Send the right inv_gamma_22 variable to the uniforms. X-Git-Tag: 1.0~461 X-Git-Url: https://git.sesse.net/?p=movit;a=commitdiff_plain;h=f328fbede6f102cf4568da6e5d7a07e29c01f357;ds=sidebyside Send the right inv_gamma_22 variable to the uniforms. --- diff --git a/lift_gamma_gain_effect.cpp b/lift_gamma_gain_effect.cpp index acfeb86..b32ed93 100644 --- a/lift_gamma_gain_effect.cpp +++ b/lift_gamma_gain_effect.cpp @@ -38,5 +38,5 @@ void LiftGammaGainEffect::set_uniforms(GLhandleARB glsl_program_num, const std:: 2.2f / gamma.r, 2.2f / gamma.g, 2.2f / gamma.b); - set_uniform_vec3(glsl_program_num, prefix, "inv_gamma_22", (float *)&gain_pow_inv_gamma); + set_uniform_vec3(glsl_program_num, prefix, "inv_gamma_22", (float *)&inv_gamma_22); }