diff options
author | Felix Kuehling <[email protected]> | 2005-03-06 01:28:30 +0000 |
---|---|---|
committer | Felix Kuehling <[email protected]> | 2005-03-06 01:28:30 +0000 |
commit | e6aa21156ace5bea0a8bcc8c58aceacb748e2627 (patch) | |
tree | bcccc053a7c90d208c71d2373e4d8ed9d34704ad /src/mesa/drivers/dri/savage/savagetris.c | |
parent | a30402b56a979a865d445c8bca2ccdfad1a3a114 (diff) |
- 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.
Diffstat (limited to 'src/mesa/drivers/dri/savage/savagetris.c')
-rw-r--r-- | src/mesa/drivers/dri/savage/savagetris.c | 7 |
1 files changed, 2 insertions, 5 deletions
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 ); |