From: Michel Dänzer Date: Thu, 29 Apr 2010 08:05:09 +0000 (+0200) Subject: gallium/draw: Fix PPC compiler warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7327a84b18140f30f2a4254066ae8ed025a8dfc0;p=mesa.git gallium/draw: Fix PPC compiler warning. --- diff --git a/src/gallium/auxiliary/draw/draw_vs_ppc.c b/src/gallium/auxiliary/draw/draw_vs_ppc.c index 876b59853d5..5df84916c51 100644 --- a/src/gallium/auxiliary/draw/draw_vs_ppc.c +++ b/src/gallium/auxiliary/draw/draw_vs_ppc.c @@ -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 */