summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorBryan Cain <[email protected]>2011-06-15 14:45:03 -0500
committerBryan Cain <[email protected]>2011-08-01 17:59:08 -0500
commitb30bbd7436bdb9727d3766ba9c07abd610e6dda8 (patch)
tree2f133cda212f26b74b42d8e927737d4db22824d5 /src/mesa/state_tracker
parentbf1cee9f24022e3da96d84fdc6baaa050d3eadf1 (diff)
glsl_to_tgsi: silence compiler warning
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_mesa_to_tgsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_mesa_to_tgsi.c b/src/mesa/state_tracker/st_mesa_to_tgsi.c
index 75842286ba8..656c985d78f 100644
--- 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: