diff options
author | Brian Paul <brianp@vmware.com> | 2010-12-03 16:40:36 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-12-03 16:40:36 -0700 |
commit | 6f851e6642a640deda34790c14d178acac1c552e (patch) | |
tree | 74e31a15a8c2296b69f2e5d171e9019a914103d2 /src/mesa/program | |
parent | 503983b09e86b2ea1bdc1268977e12eaea42293d (diff) |
mesa: remove unneeded cast
Diffstat (limited to 'src/mesa/program')
-rw-r--r-- | src/mesa/program/prog_statevars.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/prog_statevars.c b/src/mesa/program/prog_statevars.c index 83bd3727f3..def1fbe157 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]); } } |