glsl2: Use gl_DepthRange's proper name.
It was being incorrectly added as gl_DepthRangeParameters, which is the type name, not the variable name.
This commit is contained in:
@@ -141,7 +141,7 @@ generate_110_uniforms(exec_list *instructions,
|
||||
|
||||
add_uniform(instructions, state, "gl_TextureMatrix", mat4_array_type);
|
||||
|
||||
add_uniform(instructions, state, "gl_DepthRangeParameters",
|
||||
add_uniform(instructions, state, "gl_DepthRange",
|
||||
state->symbols->get_type("gl_DepthRangeParameters"));
|
||||
|
||||
add_uniform(instructions, state, "gl_ClipPlane",
|
||||
|
||||
Reference in New Issue
Block a user