summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-02-11 01:18:53 +0100
committerMarek Olšák <[email protected]>2011-02-11 01:18:53 +0100
commit98f344c5043c570ac1ae395ba0a75f3e3ad06dc8 (patch)
tree56bfd3202defb32b7c0b74a94f5449ad9d203d6b
parent7da5105fb346db1d5c6b0b67109eba913d4c89fd (diff)
r300g: fix warning
-rw-r--r--src/gallium/drivers/r300/r300_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_render.c b/src/gallium/drivers/r300/r300_render.c
index ca55984ad9e..6767a5521b2 100644
--- a/src/gallium/drivers/r300/r300_render.c
+++ b/src/gallium/drivers/r300/r300_render.c
@@ -944,7 +944,7 @@ static void r300_render_draw_arrays(struct vbuf_render* render,
if (r300->draw_first_emitted) {
if (!r300_prepare_for_rendering(r300,
PREP_FIRST_DRAW | PREP_EMIT_AOS_SWTCL,
- NULL, 6, 0, 0, FALSE))
+ NULL, dwords, 0, 0, FALSE))
return;
} else {
if (!r300_emit_states(r300,