summaryrefslogtreecommitdiffstats
path: root/src/glsl/main.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2010-07-01 13:30:50 -0700
committerIan Romanick <[email protected]>2010-07-01 13:30:50 -0700
commit127308b4be077e5bdf60f76320307550921e86bb (patch)
tree582191198d46cd3161dd35769448afaca868dbaa /src/glsl/main.cpp
parentcd00d5b88caa41ebf4b407126f314832f9fdae54 (diff)
glsl2: Add gl_MaxTextureCoords
Diffstat (limited to 'src/glsl/main.cpp')
-rw-r--r--src/glsl/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/main.cpp b/src/glsl/main.cpp
index fa63853b476..c833c9cde6d 100644
--- a/src/glsl/main.cpp
+++ b/src/glsl/main.cpp
@@ -128,6 +128,7 @@ compile_shader(struct gl_shader *shader)
state->ARB_texture_rectangle_enable = true;
state->Const.MaxDrawBuffers = 2;
+ state->Const.MaxTextureCoords = 4;
const char *source = shader->Source;
state->error = preprocess(state, &source, &state->info_log);