projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03ff9c9
)
remove unneeded cast
author
Brian
<brian.paul@tungstengraphics.com>
Thu, 11 Oct 2007 16:33:31 +0000
(10:33 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Thu, 11 Oct 2007 16:33:31 +0000
(10:33 -0600)
src/mesa/shader/prog_statevars.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/prog_statevars.c
b/src/mesa/shader/prog_statevars.c
index
d37d7fb
..
57a9d2d
100644
(file)
--- 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]);
}
}