diff options
author | Ian Romanick <[email protected]> | 2010-07-01 13:30:50 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-07-01 13:30:50 -0700 |
commit | 127308b4be077e5bdf60f76320307550921e86bb (patch) | |
tree | 582191198d46cd3161dd35769448afaca868dbaa /src/mesa | |
parent | cd00d5b88caa41ebf4b407126f314832f9fdae54 (diff) |
glsl2: Add gl_MaxTextureCoords
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/shader/ir_to_mesa.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/ir_to_mesa.cpp b/src/mesa/shader/ir_to_mesa.cpp index 1e186354c58..14abf602af2 100644 --- a/src/mesa/shader/ir_to_mesa.cpp +++ b/src/mesa/shader/ir_to_mesa.cpp @@ -1710,6 +1710,7 @@ _mesa_glsl_compile_shader(GLcontext *ctx, struct gl_shader *shader) state->ARB_texture_rectangle_enable = true; state->Const.MaxDrawBuffers = ctx->Const.MaxDrawBuffers; + state->Const.MaxTextureCoords = ctx->Const.MaxTextureCoordUnits; const char *source = shader->Source; state->error = preprocess(state, &source, &state->info_log); |