- set_uniform_float(glsl_program_num, prefix, "linear_scale", 1.0 / 4.5);
- set_uniform_float(glsl_program_num, prefix, "c0", 0.005167545928);
- set_uniform_float(glsl_program_num, prefix, "c1", 0.09835585809);
- set_uniform_float(glsl_program_num, prefix, "c2", 0.7254820139);
- set_uniform_float(glsl_program_num, prefix, "c3", 0.2131291155);
- set_uniform_float(glsl_program_num, prefix, "c4", -0.04213877222);
- set_uniform_float(glsl_program_num, prefix, "beta", 0.0181 * 4.5);
+ uniform_linear_scale = 1.0 / 4.5;
+ uniform_c[0] = 0.005167545928;
+ uniform_c[1] = 0.09835585809;
+ uniform_c[2] = 0.7254820139;
+ uniform_c[3] = 0.2131291155;
+ uniform_c[4] = -0.04213877222;
+ uniform_beta = 0.0181 * 4.5;