summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/unichrome/via_tris.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/unichrome/via_tris.c')
-rw-r--r--src/mesa/drivers/dri/unichrome/via_tris.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_tris.c b/src/mesa/drivers/dri/unichrome/via_tris.c
index e7d2750b57..022399f698 100644
--- a/src/mesa/drivers/dri/unichrome/via_tris.c
+++ b/src/mesa/drivers/dri/unichrome/via_tris.c
@@ -844,7 +844,6 @@ static void viaRenderFinish(GLcontext *ctx)
}
-
/* System to flush dma and emit state changes based on the rasterized
* primitive.
*/
@@ -944,6 +943,7 @@ void viaRasterPrimitive(GLcontext *ctx,
ADVANCE_RING();
}
+ assert(vmesa->dmaLastPrim == 0);
BEGIN_RING(8);
OUT_RING( HC_HEADER2 );