From e6aa21156ace5bea0a8bcc8c58aceacb748e2627 Mon Sep 17 00:00:00 2001 From: Felix Kuehling Date: Sun, 6 Mar 2005 01:28:30 +0000 Subject: - Fixed two bugs related to DMA buffer handling that showed up with the new DRM version 2.4 and command DMA. - Flush less. - Bumped the driver date. --- src/mesa/drivers/dri/savage/savagetris.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/mesa/drivers/dri/savage/savagetris.c') diff --git a/src/mesa/drivers/dri/savage/savagetris.c b/src/mesa/drivers/dri/savage/savagetris.c index 405a58977b6..18470401372 100644 --- a/src/mesa/drivers/dri/savage/savagetris.c +++ b/src/mesa/drivers/dri/savage/savagetris.c @@ -1192,11 +1192,8 @@ static void savageRenderStart( GLcontext *ctx ) static void savageRenderFinish( GLcontext *ctx ) { - /* Flush the last primitive now, before any state is changed. - * Alternatively state could be emitted in all state-changing - * functions in savagestate.c and when changing the vertex format - * above. */ - FLUSH_BATCH(SAVAGE_CONTEXT(ctx)); + /* Flush the last primitive now, before any state is changed. */ + savageFlushVertices(SAVAGE_CONTEXT(ctx)); if (SAVAGE_CONTEXT(ctx)->RenderIndex & SAVAGE_FALLBACK_BIT) _swrast_flush( ctx ); -- cgit v1.2.3