projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5c68c8
)
Swapout textures who's space is claimed by a new texture. Don't destroy.
author
Felix Kuehling
<fxkuehl@gmx.de>
Mon, 8 Mar 2004 00:34:43 +0000
(
00:34
+0000)
committer
Felix Kuehling
<fxkuehl@gmx.de>
Mon, 8 Mar 2004 00:34:43 +0000
(
00:34
+0000)
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
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/savage/savagetex.c
b/src/mesa/drivers/dri/savage/savagetex.c
index 45d347b0bee520c68394c86c884123aefa77ebcb..0ce2a964652ae7eb12d290440e5714c2a39829e4 100644
(file)
--- 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;
}
- savage
Destroy
TexObj( imesa, imesa->TexObjList[heap].prev );
+ savage
SwapOut
TexObj( imesa, imesa->TexObjList[heap].prev );
}
ofs = t->MemBlock->ofs;