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 cfbee256ef3246909f318c6292aab2a63e3168d1..079cf26039468fa0d9b826a564d4069cdccfe2ee 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);