From b224264c9db83a7b8df222ba3625b0f23874e30d Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Sat, 15 May 2010 17:44:08 -0700 Subject: [PATCH] r300g: Move code after declarations. Fixes SCons build. --- src/gallium/drivers/r300/r300_render.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.30.2