diff options
author | Felix Kuehling <fxkuehl@gmx.de> | 2004-03-08 00:34:43 +0000 |
---|---|---|
committer | Felix Kuehling <fxkuehl@gmx.de> | 2004-03-08 00:34:43 +0000 |
commit | 446d8d0b86d05089c56d53e9887cdf03574a1441 (patch) | |
tree | ce56c452d5ef565fcf17ea53eca2b85d05dcabc8 | |
parent | a5c68c872ddcac6b844aa666edee72196af93a4a (diff) |
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.
-rw-r--r-- | src/mesa/drivers/dri/savage/savagetex.c | 2 |
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 45d347b0be..0ce2a96465 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; |