summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-05-15 17:44:08 -0700
committerVinson Lee <[email protected]>2010-05-15 17:44:08 -0700
commitb224264c9db83a7b8df222ba3625b0f23874e30d (patch)
tree7babf1ed7697175bc1b5915e7e60140eb6fec1a9
parentee6255052cd3adb5074916a62c8f59a421c7fa2d (diff)
r300g: Move code after declarations.
Fixes SCons build.
-rw-r--r--src/gallium/drivers/r300/r300_render.c3
1 files changed, 2 insertions, 1 deletions
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);