projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
503983b
)
mesa: remove unneeded cast
author
Brian Paul
<brianp@vmware.com>
Fri, 3 Dec 2010 23:40:36 +0000
(16:40 -0700)
committer
Brian Paul
<brianp@vmware.com>
Fri, 3 Dec 2010 23:40:36 +0000
(16:40 -0700)
src/mesa/program/prog_statevars.c
patch
|
blob
|
history
diff --git
a/src/mesa/program/prog_statevars.c
b/src/mesa/program/prog_statevars.c
index 83bd3727f33cfc8e221bffc1c2ff9a39ec86065a..def1fbe1573551238d9c5a154426dad5ac7fe57c 100644
(file)
--- 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]);
}
}