summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r200/r200_cmdbuf.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-01-29 20:33:07 +1000
committerDave Airlie <airlied@redhat.com>2009-01-29 20:33:07 +1000
commitc9bb5cd20e5468168d54fe461c853926072fa813 (patch)
tree06ecb7492cf44b6715941f9356a859f4de1df506 /src/mesa/drivers/dri/r200/r200_cmdbuf.c
parent59b183ce0fc8fd8ab73b9321e609fdb3c29bb078 (diff)
r200: bring back single dma flush
Diffstat (limited to 'src/mesa/drivers/dri/r200/r200_cmdbuf.c')
-rw-r--r--src/mesa/drivers/dri/r200/r200_cmdbuf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_cmdbuf.c b/src/mesa/drivers/dri/r200/r200_cmdbuf.c
index fb8dddad3f..eba5d6e019 100644
--- a/src/mesa/drivers/dri/r200/r200_cmdbuf.c
+++ b/src/mesa/drivers/dri/r200/r200_cmdbuf.c
@@ -281,8 +281,8 @@ void r200FlushElts(GLcontext *ctx)
if (R200_DEBUG & (DEBUG_IOCTL|DEBUG_PRIMS))
fprintf(stderr, "%s %x %d\n", __FUNCTION__, rmesa->tcl.hw_primitive, elt_used);
- assert( rmesa->tcl.flush == r200FlushElts );
- rmesa->tcl.flush = NULL;
+ assert( rmesa->radeon.dma.flush == r200FlushElts );
+ rmesa->radeon.dma.flush = NULL;
elt_used = (elt_used + 2) & ~2;
@@ -329,9 +329,9 @@ GLushort *r200AllocEltsOpenEnded( r200ContextPtr rmesa,
fprintf(stderr, "%s: header prim %x \n",
__FUNCTION__, primitive);
- assert(!rmesa->tcl.flush);
+ assert(!rmesa->radeon.dma.flush);
rmesa->radeon.glCtx->Driver.NeedFlush |= FLUSH_STORED_VERTICES;
- rmesa->tcl.flush = r200FlushElts;
+ rmesa->radeon.dma.flush = r200FlushElts;
return retval;
}