diff options
author | Brian <[email protected]> | 2007-05-19 09:10:44 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-05-19 09:10:44 -0600 |
commit | a2305ebfa213adb16e72d1a819895a68991c9462 (patch) | |
tree | 50d9ce43b45722a6bf91e175741c0e99576f65b0 /src/mesa/main/attrib.c | |
parent | 74519c42311c67a2f914768abbe905d321702386 (diff) |
need to copy new 1D/2D array texture objects in _mesa_PushAttrib()
Diffstat (limited to 'src/mesa/main/attrib.c')
-rw-r--r-- | src/mesa/main/attrib.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c index 4654704afd1..46995462629 100644 --- 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); |