summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texstate.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2002-10-23 14:53:27 +0000
committerBrian Paul <[email protected]>2002-10-23 14:53:27 +0000
commitd0add7cf1a6b99cafd25e23fe2fc9d0b6657079a (patch)
tree3bf59a9d1e1e78d2f1c2866087a0ee4c94fe3958 /src/mesa/main/texstate.c
parentcca4dedbfdb7a424a37faadf593ff4ca0af1f971 (diff)
added missing code to copy texrect state
Diffstat (limited to 'src/mesa/main/texstate.c')
-rw-r--r--src/mesa/main/texstate.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c
index ce40c56f13f..373b464a3c4 100644
--- a/src/mesa/main/texstate.c
+++ b/src/mesa/main/texstate.c
@@ -1,4 +1,4 @@
-/* $Id: texstate.c,v 1.82 2002/10/21 15:52:34 brianp Exp $ */
+/* $Id: texstate.c,v 1.83 2002/10/23 14:53:27 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -114,6 +114,8 @@ _mesa_copy_texture_state( const GLcontext *src, GLcontext *dst )
src->Texture.Unit[i].Current3D);
_mesa_copy_texture_object(dst->Texture.Unit[i].CurrentCubeMap,
src->Texture.Unit[i].CurrentCubeMap);
+ _mesa_copy_texture_object(dst->Texture.Unit[i].CurrentRect,
+ src->Texture.Unit[i].CurrentRect);
}
}