summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/varray.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-09-11 18:49:06 +0000
committerBrian Paul <[email protected]>2000-09-11 18:49:06 +0000
commit038573aae7c38e15c13cee8e1876e7674bd2e630 (patch)
treebfbcf826bf2c804a7449195caaf34e4665e8b0e8 /src/mesa/main/varray.c
parentb506d8753d8d758d5c47c0a65d94d784555fd7fe (diff)
Removed immediate struct's maybe_transform_vb pointer.
Call _mesa_maybe_transform_vb() directly.
Diffstat (limited to 'src/mesa/main/varray.c')
-rw-r--r--src/mesa/main/varray.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c
index 072426c6ea0..d6889bb9966 100644
--- a/src/mesa/main/varray.c
+++ b/src/mesa/main/varray.c
@@ -1,4 +1,4 @@
-/* $Id: varray.c,v 1.22 2000/06/12 15:30:51 brianp Exp $ */
+/* $Id: varray.c,v 1.23 2000/09/11 18:49:06 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -509,7 +509,7 @@ void gl_exec_array_elements( GLcontext *ctx, struct immediate *IM,
IM->FlushElt |= IM->ArrayEltFlush; \
IM->Count = count += IM->ArrayIncr; \
if (count == VB_MAX) \
- IM->maybe_transform_vb( IM ); \
+ _mesa_maybe_transform_vb( IM ); \
}
@@ -787,7 +787,6 @@ _mesa_DrawArrays(GLenum mode, GLint start, GLsizei count)
/* KW: Exactly fakes the effects of calling glArrayElement multiple times.
- * Compilation is handled via. the IM->maybe_transform_vb() callback.
*/
#if 1
#define DRAW_ELT(FUNC, TYPE) \
@@ -815,8 +814,9 @@ static void FUNC( GLcontext *ctx, GLenum mode, \
IM->Count = nr; \
j += nr - start; \
\
- if (j == count) gl_End( ctx ); \
- IM->maybe_transform_vb( IM ); \
+ if (j == count) \
+ gl_End( ctx ); \
+ _mesa_maybe_transform_vb( IM ); \
} \
}
#else