summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/attrib.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2001-08-07 21:46:52 +0000
committerBrian Paul <[email protected]>2001-08-07 21:46:52 +0000
commitebc9f221b2f02a0256cd7c5426155933e50ab3b7 (patch)
treedd666a667d9fbc59a1455557113af61d0b97dc1b /src/mesa/main/attrib.c
parentb5797a50854994173ee05ee5803d3557c9538b23 (diff)
fixed NewState update bugs in _mesa_PopClientAttrib()
Diffstat (limited to 'src/mesa/main/attrib.c')
-rw-r--r--src/mesa/main/attrib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c
index e75751d5fcf..49218c3785c 100644
--- a/src/mesa/main/attrib.c
+++ b/src/mesa/main/attrib.c
@@ -1,4 +1,4 @@
-/* $Id: attrib.c,v 1.53 2001/06/26 01:32:48 brianp Exp $ */
+/* $Id: attrib.c,v 1.54 2001/08/07 21:46:52 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -1127,17 +1127,17 @@ _mesa_PopClientAttrib(void)
case GL_CLIENT_PACK_BIT:
MEMCPY( &ctx->Pack, attr->data,
sizeof(struct gl_pixelstore_attrib) );
- ctx->NewState = _NEW_PACKUNPACK;
+ ctx->NewState |= _NEW_PACKUNPACK;
break;
case GL_CLIENT_UNPACK_BIT:
MEMCPY( &ctx->Unpack, attr->data,
sizeof(struct gl_pixelstore_attrib) );
- ctx->NewState = _NEW_PACKUNPACK;
+ ctx->NewState |= _NEW_PACKUNPACK;
break;
case GL_CLIENT_VERTEX_ARRAY_BIT:
MEMCPY( &ctx->Array, attr->data,
sizeof(struct gl_array_attrib) );
- ctx->NewState = _NEW_ARRAY;
+ ctx->NewState |= _NEW_ARRAY;
break;
default:
_mesa_problem( ctx, "Bad attrib flag in PopClientAttrib");