summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-02-14 19:10:13 +1000
committerDave Airlie <airlied@redhat.com>2009-02-14 20:13:55 +1000
commitfd81835dc7ac71eac2a5fcc58080b9b4c6944c83 (patch)
tree10f360096727327a5ce140803432cbd500ebc9fd /src/mesa/drivers/dri
parentf3a1f321cfa275eba6186626ee691e8bc9ecfe8c (diff)
r200: fix another cmdbuf sizing issue
Diffstat (limited to 'src/mesa/drivers/dri')
-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 55507be251..ae31bcb831 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) |