diff options
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 405a58977b..1847040137 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 ); |