r300g: Move code after declarations.
authorVinson Lee <vlee@vmware.com>
Sun, 16 May 2010 00:44:08 +0000 (17:44 -0700)
committerVinson Lee <vlee@vmware.com>
Sun, 16 May 2010 00:44:08 +0000 (17:44 -0700)
Fixes SCons build.

src/gallium/drivers/r300/r300_render.c

index cfbee25..079cf26 100644 (file)
@@ -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);