summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-12-03 16:40:36 -0700
committerBrian Paul <[email protected]>2010-12-03 16:40:36 -0700
commit6f851e6642a640deda34790c14d178acac1c552e (patch)
tree74e31a15a8c2296b69f2e5d171e9019a914103d2 /src
parent503983b09e86b2ea1bdc1268977e12eaea42293d (diff)
mesa: remove unneeded cast
Diffstat (limited to 'src')
-rw-r--r--src/mesa/program/prog_statevars.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/prog_statevars.c b/src/mesa/program/prog_statevars.c
index 83bd3727f33..def1fbe1573 100644
--- a/src/mesa/program/prog_statevars.c
+++ b/src/mesa/program/prog_statevars.c
@@ -1084,7 +1084,7 @@ _mesa_load_state_parameters(struct gl_context *ctx,
for (i = 0; i < paramList->NumParameters; i++) {
if (paramList->Parameters[i].Type == PROGRAM_STATE_VAR) {
_mesa_fetch_state(ctx,
- (gl_state_index *) paramList->Parameters[i].StateIndexes,
+ paramList->Parameters[i].StateIndexes,
paramList->ParameterValues[i]);
}
}