diff options
author | Brian Paul <[email protected]> | 2002-04-21 18:49:18 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-04-21 18:49:18 +0000 |
commit | b7752724d930aa8b93617829d814b20509f85069 (patch) | |
tree | d1583ea4033247c2facfe845efd82782206b49bc /src/mesa/main/enable.c | |
parent | 1113e3266f1a9df3506fb80189bfe00d9681b55e (diff) |
vertex program attribute array work
Diffstat (limited to 'src/mesa/main/enable.c')
-rw-r--r-- | src/mesa/main/enable.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c index 78c200dcae4..af870e1639a 100644 --- a/src/mesa/main/enable.c +++ b/src/mesa/main/enable.c @@ -1,4 +1,4 @@ -/* $Id: enable.c,v 1.61 2002/04/19 08:38:23 alanh Exp $ */ +/* $Id: enable.c,v 1.62 2002/04/21 18:49:18 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -112,7 +112,7 @@ client_state( GLcontext *ctx, GLenum cap, GLboolean state ) { GLint n = (GLint) cap - GL_VERTEX_ATTRIB_ARRAY0_NV; var = &ctx->Array.VertexAttrib[n].Enabled; - flag = _NEW_ARRAY_VERT_ATTRIB0; /* XXX flag OK? */ + flag = _NEW_ARRAY_ATTRIB(n); } break; default: |