summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>1999-11-09 07:59:54 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>1999-11-09 07:59:54 +0000
commitf6a79d045ccebaa0947fe8051ed462d97e341fb1 (patch)
treed0599517a9c2830b10ea29d82d67359c5c780db1 /src
parent0822c1050ea4e91957fc7109358c3bd7daca3480 (diff)
fixed typo: replaced |= with != in conditional
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/varray.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c
index 26baa21ae1..6412f293fb 100644
--- a/src/mesa/main/varray.c
+++ b/src/mesa/main/varray.c
@@ -1,4 +1,4 @@
-/* $Id: varray.c,v 1.8 1999/11/08 07:36:45 brianp Exp $ */
+/* $Id: varray.c,v 1.9 1999/11/09 07:59:54 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -591,7 +591,7 @@ void gl_DrawArrays( GLcontext *ctx, GLenum mode, GLint start, GLsizei count )
tc[i].stride = client_data->StrideB;
tc[i].size = client_data->Size;
tc[i].flags = VEC_NOT_WRITABLE|VEC_GOOD_STRIDE;
- if (tc[i].stride |= 4 * sizeof(GLfloat))
+ if (tc[i].stride != 4 * sizeof(GLfloat))
tc[i].flags ^= VEC_STRIDE_FLAGS;
update |= flag;
} else {