From 446d8d0b86d05089c56d53e9887cdf03574a1441 Mon Sep 17 00:00:00 2001 From: Felix Kuehling Date: Mon, 8 Mar 2004 00:34:43 +0000 Subject: [PATCH] Swapout textures who's space is claimed by a new texture. Don't destroy. This finally really fixes assertion failures in savageBindTexture. I think the same situation with several contexts is still broken though. --- src/mesa/drivers/dri/savage/savagetex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2