From 038573aae7c38e15c13cee8e1876e7674bd2e630 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 11 Sep 2000 18:49:06 +0000 Subject: Removed immediate struct's maybe_transform_vb pointer. Call _mesa_maybe_transform_vb() directly. --- src/mesa/main/varray.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/mesa/main/varray.c') diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c index 072426c6ea..d6889bb996 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 -- cgit v1.2.3