projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mesa: Allow setting GL_TEXTURE_MAX_LEVEL to 0 with GL_TEXTURE_RECTANGLE.
[mesa.git]
/
src
/
mesa
/
main
/
shader_query.cpp
diff --git
a/src/mesa/main/shader_query.cpp
b/src/mesa/main/shader_query.cpp
index f14e1a562a7e5a8d4fc1aaf29a260dc8bfee7061..e1afe5315f4e5c6f373799e8d588fd57ba753ac1 100644
(file)
--- a/
src/mesa/main/shader_query.cpp
+++ b/
src/mesa/main/shader_query.cpp
@@
-59,7
+59,7
@@
_mesa_BindAttribLocation(GLhandleARB program, GLuint index,
return;
}
- if (index >= ctx->Const.
VertexProgram
.MaxAttribs) {
+ if (index >= ctx->Const.
Program[MESA_SHADER_VERTEX]
.MaxAttribs) {
_mesa_error(ctx, GL_INVALID_VALUE, "glBindAttribLocation(index)");
return;
}