summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2001-11-19 10:22:41 +0000
committerKeith Whitwell <[email protected]>2001-11-19 10:22:41 +0000
commit3f766b7a89cfb63867857fc3d97f8dca50895981 (patch)
tree3a6ee7ab20bad449313a8b59572d190bd8aa7f2b /src/mesa/tnl
parent71340e861edf35bfdeb536718cd230fc33c41ee2 (diff)
possible fix for cva ignore start index bug
Diffstat (limited to 'src/mesa/tnl')
-rw-r--r--src/mesa/tnl/t_vb_render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_vb_render.c b/src/mesa/tnl/t_vb_render.c
index 5ad8c3e5be3..372a4c3ba0c 100644
--- a/src/mesa/tnl/t_vb_render.c
+++ b/src/mesa/tnl/t_vb_render.c
@@ -1,4 +1,4 @@
-/* $Id: t_vb_render.c,v 1.22 2001/07/12 22:09:22 keithw Exp $ */
+/* $Id: t_vb_render.c,v 1.23 2001/11/19 10:22:41 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -318,7 +318,7 @@ static GLboolean run_render( GLcontext *ctx,
do
{
GLuint i, length, flags = 0;
- for (i = 0 ; !(flags & PRIM_LAST) ; i += length)
+ for (i = VB->FirstPrimitive ; !(flags & PRIM_LAST) ; i += length)
{
flags = VB->Primitive[i];
length= VB->PrimitiveLength[i];