glsl_to_tgsi: silence compiler warning
authorBryan Cain <bryancain3@gmail.com>
Wed, 15 Jun 2011 19:45:03 +0000 (14:45 -0500)
committerBryan Cain <bryancain3@gmail.com>
Mon, 1 Aug 2011 22:59:08 +0000 (17:59 -0500)
src/mesa/state_tracker/st_mesa_to_tgsi.c

index 75842286ba838bfb96ef859a4dec8e11672834da..656c985d78ffd00d77b22d1ff94a9924beff3845 100644 (file)
@@ -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: