- set_uniform_float(glsl_program_num, prefix, "linear_scale", 12.92);
- set_uniform_float(glsl_program_num, prefix, "c0", -0.03679675939);
- set_uniform_float(glsl_program_num, prefix, "c1", 1.443803073);
- set_uniform_float(glsl_program_num, prefix, "c2", -0.9239780987);
- set_uniform_float(glsl_program_num, prefix, "c3", 0.8060491596);
- set_uniform_float(glsl_program_num, prefix, "c4", -0.2891558568);
- set_uniform_float(glsl_program_num, prefix, "beta", 0.0031308);
+ uniform_linear_scale = 12.92;
+ uniform_c[0] = -0.03679675939;
+ uniform_c[1] = 1.443803073;
+ uniform_c[2] = -0.9239780987;
+ uniform_c[3] = 0.8060491596;
+ uniform_c[4] = -0.2891558568;
+ uniform_beta = 0.0031308;