diff options
author | Bryan Cain <[email protected]> | 2011-06-15 14:45:03 -0500 |
---|---|---|
committer | Bryan Cain <[email protected]> | 2011-08-01 17:59:08 -0500 |
commit | b30bbd7436bdb9727d3766ba9c07abd610e6dda8 (patch) | |
tree | 2f133cda212f26b74b42d8e927737d4db22824d5 | |
parent | bf1cee9f24022e3da96d84fdc6baaa050d3eadf1 (diff) |
glsl_to_tgsi: silence compiler warning
-rw-r--r-- | src/mesa/state_tracker/st_mesa_to_tgsi.c | 2 |
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: |