projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71340e8
)
possible fix for cva ignore start index bug
author
Keith Whitwell
<keith@tungstengraphics.com>
Mon, 19 Nov 2001 10:22:41 +0000
(10:22 +0000)
committer
Keith Whitwell
<keith@tungstengraphics.com>
Mon, 19 Nov 2001 10:22:41 +0000
(10:22 +0000)
src/mesa/tnl/t_vb_render.c
patch
|
blob
|
history
diff --git
a/src/mesa/tnl/t_vb_render.c
b/src/mesa/tnl/t_vb_render.c
index 5ad8c3e5be318c2dfff647586f80053fb8b1287d..372a4c3ba0cc536be0c60e9ebded67034c0d51e2 100644
(file)
--- 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.2
2 2001/07/12 22:09:22
keithw Exp $ */
+/* $Id: t_vb_render.c,v 1.2
3 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];