projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74519c4
)
need to copy new 1D/2D array texture objects in _mesa_PushAttrib()
author
Brian
<brian@yutani.localnet.net>
Sat, 19 May 2007 15:10:44 +0000
(09:10 -0600)
committer
Brian
<brian@yutani.localnet.net>
Sat, 19 May 2007 15:10:44 +0000
(09:10 -0600)
src/mesa/main/attrib.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/attrib.c
b/src/mesa/main/attrib.c
index 4654704afd1fdf0048628cd4e7000b180d91b147..4699546262947cd24366f201a1474f155da512ec 100644
(file)
--- a/
src/mesa/main/attrib.c
+++ b/
src/mesa/main/attrib.c
@@
-363,6
+363,10
@@
_mesa_PushAttrib(GLbitfield mask)
attr->Unit[u].CurrentCubeMap);
_mesa_copy_texture_object(&attr->Unit[u].SavedRect,
attr->Unit[u].CurrentRect);
+ _mesa_copy_texture_object(&attr->Unit[u].Saved1DArray,
+ attr->Unit[u].Current1DArray);
+ _mesa_copy_texture_object(&attr->Unit[u].Saved2DArray,
+ attr->Unit[u].Current2DArray);
}
_mesa_unlock_context_textures(ctx);