From: Marek Olšák Date: Fri, 11 Feb 2011 00:18:53 +0000 (+0100) Subject: r300g: fix warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=98f344c5043c570ac1ae395ba0a75f3e3ad06dc8;p=mesa.git r300g: fix warning --- diff --git a/src/gallium/drivers/r300/r300_render.c b/src/gallium/drivers/r300/r300_render.c index ca55984ad9e..6767a5521b2 100644 --- a/src/gallium/drivers/r300/r300_render.c +++ b/src/gallium/drivers/r300/r300_render.c @@ -944,7 +944,7 @@ static void r300_render_draw_arrays(struct vbuf_render* render, if (r300->draw_first_emitted) { if (!r300_prepare_for_rendering(r300, PREP_FIRST_DRAW | PREP_EMIT_AOS_SWTCL, - NULL, 6, 0, 0, FALSE)) + NULL, dwords, 0, 0, FALSE)) return; } else { if (!r300_emit_states(r300,