From: Vinson Lee Date: Sun, 16 May 2010 00:44:08 +0000 (-0700) Subject: r300g: Move code after declarations. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b224264c9db83a7b8df222ba3625b0f23874e30d;p=mesa.git r300g: Move code after declarations. Fixes SCons build. --- diff --git a/src/gallium/drivers/r300/r300_render.c b/src/gallium/drivers/r300/r300_render.c index cfbee256ef3..079cf260394 100644 --- a/src/gallium/drivers/r300/r300_render.c +++ b/src/gallium/drivers/r300/r300_render.c @@ -928,10 +928,11 @@ static void r500_render_draw_arrays(struct vbuf_render* render, struct r300_context* r300 = r300render->r300; uint8_t* ptr; unsigned i; - (void) i; (void) ptr; CS_LOCALS(r300); + (void) i; (void) ptr; + r300_prepare_for_rendering(r300, PREP_FIRST_DRAW, NULL, 4, 0, 0); DBG(r300, DBG_DRAW, "r300: Doing vbuf render, count %d\n", count);