summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2009-02-14 19:10:13 +1000
committerDave Airlie <[email protected]>2009-02-14 20:13:55 +1000
commitfd81835dc7ac71eac2a5fcc58080b9b4c6944c83 (patch)
tree10f360096727327a5ce140803432cbd500ebc9fd
parentf3a1f321cfa275eba6186626ee691e8bc9ecfe8c (diff)
r200: fix another cmdbuf sizing issue
-rw-r--r--src/mesa/drivers/dri/r200/r200_cmdbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_cmdbuf.c b/src/mesa/drivers/dri/r200/r200_cmdbuf.c
index 55507be2515..ae31bcb8311 100644
--- a/src/mesa/drivers/dri/r200/r200_cmdbuf.c
+++ b/src/mesa/drivers/dri/r200/r200_cmdbuf.c
@@ -135,7 +135,7 @@ static void r200FireEB(r200ContextPtr rmesa, int vertex_count, int type)
BATCH_LOCALS(&rmesa->radeon);
if (vertex_count > 0) {
- BEGIN_BATCH(8);
+ BEGIN_BATCH(8+2);
OUT_BATCH_PACKET3(R200_CP_CMD_3D_DRAW_INDX_2, 0);
OUT_BATCH(R200_VF_PRIM_WALK_IND |
((vertex_count + 0) << 16) |