projects
/
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 d37d7fb9bf4d2f45a28eed84c76ff24afef11119..57a9d2dae9d2dd55f18883cdb3ebbe4638b761f3 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]);
}
}