glsl2: Add gl_MaxTextureCoords

This commit is contained in:
Ian Romanick
2010-07-01 13:30:50 -07:00
parent cd00d5b88c
commit 127308b4be
5 changed files with 24 additions and 22 deletions
+1
View File
@@ -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);