gallium/draw: Fix PPC compiler warning.
authorMichel Dänzer <daenzer@vmware.com>
Thu, 29 Apr 2010 08:05:09 +0000 (10:05 +0200)
committerMichel Dänzer <michel@daenzer.net>
Thu, 29 Apr 2010 08:05:49 +0000 (10:05 +0200)
src/gallium/auxiliary/draw/draw_vs_ppc.c

index 876b59853d51d1e021e1575814b0a7cabc9b7510..5df84916c5126698139e150e1bd4d1f9b47f56ed 100644 (file)
@@ -125,7 +125,7 @@ vs_ppc_run_linear( struct draw_vertex_shader *base,
        */
       shader->func(inputs_soa, outputs_soa, temps_soa,
                   (float (*)[4]) shader->base.immediates,
-                   (const float (*)[4])constants[0],
+                   (float (*)[4])constants[0],
                    ppc_builtin_constants);
 
       /* convert (up to) four output verts from SoA back to AoS format */