projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3248575
)
mesa: pass correct constant type to _mesa_fetch_state()
author
Brian Paul
<brianp@vmware.com>
Thu, 4 Aug 2011 22:01:27 +0000
(16:01 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 4 Aug 2011 22:02:08 +0000
(16:02 -0600)
Fixes assorted warnings about float vs. gl_constant_value pointers.
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
16f9690
..
6aa2409
100644
(file)
--- a/
src/mesa/program/prog_statevars.c
+++ b/
src/mesa/program/prog_statevars.c
@@
-1111,7
+1111,7
@@
_mesa_load_state_parameters(struct gl_context *ctx,
if (paramList->Parameters[i].Type == PROGRAM_STATE_VAR) {
_mesa_fetch_state(ctx,
paramList->Parameters[i].StateIndexes,
-
paramList->ParameterValues[i]
);
+
¶mList->ParameterValues[i][0].f
);
}
}
}