summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-10-11 10:33:31 -0600
committerBrian <[email protected]>2007-10-11 10:33:31 -0600
commitf05c76ec1a5d8444c75f059d4e6f7e5bcd8c6644 (patch)
treeb4407affebc8abe05dc78bd657701709515e81d4
parent03ff9c96bf73b53c6c95f2db0aa79cfb1ff9eb3b (diff)
remove unneeded cast
-rw-r--r--src/mesa/shader/prog_statevars.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/prog_statevars.c b/src/mesa/shader/prog_statevars.c
index d37d7fb9bf4..57a9d2dae9d 100644
--- a/src/mesa/shader/prog_statevars.c
+++ b/src/mesa/shader/prog_statevars.c
@@ -818,7 +818,7 @@ _mesa_load_state_parameters(GLcontext *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]);
}
}