summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/savage/savagetex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/savage/savagetex.c b/src/mesa/drivers/dri/savage/savagetex.c
index 45d347b0bee..0ce2a964652 100644
--- a/src/mesa/drivers/dri/savage/savagetex.c
+++ b/src/mesa/drivers/dri/savage/savagetex.c
@@ -800,7 +800,7 @@ int savageUploadTexImages( savageContextPtr imesa, savageTextureObjectPtr t )
return -1;
}
- savageDestroyTexObj( imesa, imesa->TexObjList[heap].prev );
+ savageSwapOutTexObj( imesa, imesa->TexObjList[heap].prev );
}
ofs = t->MemBlock->ofs;