projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf1cee9
)
glsl_to_tgsi: silence compiler warning
author
Bryan Cain
<bryancain3@gmail.com>
Wed, 15 Jun 2011 19:45:03 +0000
(14:45 -0500)
committer
Bryan Cain
<bryancain3@gmail.com>
Mon, 1 Aug 2011 22:59:08 +0000
(17:59 -0500)
src/mesa/state_tracker/st_mesa_to_tgsi.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_mesa_to_tgsi.c
b/src/mesa/state_tracker/st_mesa_to_tgsi.c
index 75842286ba838bfb96ef859a4dec8e11672834da..656c985d78ffd00d77b22d1ff94a9924beff3845 100644
(file)
--- a/
src/mesa/state_tracker/st_mesa_to_tgsi.c
+++ b/
src/mesa/state_tracker/st_mesa_to_tgsi.c
@@
-1207,7
+1207,7
@@
st_translate_mesa_program(
else
t->constants[i] =
ureg_DECL_immediate( ureg,
- program->Parameters->ParameterValues[i],
+
(const float*)
program->Parameters->ParameterValues[i],
4 );
break;
default: