commit | 01a91eb65753c9090e1a05d728cf5c23ef49d5d4 | [log] [tgz] |
---|---|---|
author | Brian <brian@yutani.localnet.net> | Tue Jan 09 19:26:22 2007 -0700 |
committer | Brian <brian@yutani.localnet.net> | Tue Jan 09 19:26:22 2007 -0700 |
tree | 66851c75ed1e7ebea6ce0e351000c9f1a01f4ae1 | |
parent | b7978af6936d186112727cb9858fe7740eef1a7c [diff] [blame] |
get rid of STATE_USER_ATTRIB/STATE_AUTO_ATTRIB
diff --git a/src/mesa/shader/shader_api.c b/src/mesa/shader/shader_api.c index 397ce91..101c6f1 100644 --- a/src/mesa/shader/shader_api.c +++ b/src/mesa/shader/shader_api.c
@@ -554,7 +554,7 @@ if (shProg->Attributes) { GLint i = _mesa_lookup_parameter_index(shProg->Attributes, -1, name); if (i >= 0) { - return shProg->Attributes->Parameters[i].StateIndexes[1]; + return shProg->Attributes->Parameters[i].StateIndexes[0]; } } return -1;