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:
Kenneth Graunke
2010-08-07 02:28:40 -07:00
parent c88e60a27b
commit dbff7b541e
+1 -1
View File
@@ -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",