From 30f64862766c573505fb7cd03a1c10bbf584c183 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Wed, 5 Jan 2005 13:51:38 +0000 Subject: make alloc-dma functions inline, rearrange some debug --- src/mesa/drivers/dri/unichrome/via_tris.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers/dri/unichrome/via_tris.c') 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 ); -- cgit v1.2.3