summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/savage/savage_xmesa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/savage/savage_xmesa.c b/src/mesa/drivers/dri/savage/savage_xmesa.c
index b3cf3a9982..a1c5142d4f 100644
--- a/src/mesa/drivers/dri/savage/savage_xmesa.c
+++ b/src/mesa/drivers/dri/savage/savage_xmesa.c
@@ -505,7 +505,8 @@ savageDestroyContext(__DRIcontextPrivate *driContextPriv)
if (imesa) {
savageTextureObjectPtr next_t, t;
- FLUSH_BATCH(imesa);
+ savageFlushVertices(imesa);
+ savageFlushCmdBuf(imesa, GL_TRUE); /* release DMA buffer */
/* update for multi-tex*/
{