The current mesa-3-5-branch code has a bug dealing with GL_QUADS,
suffice it to say that it results in some, interesting, rendering bugs.
Thanks to relnav and lordhavic for helping pin down what was actually
happening. (And relnav for helping test.)
Patch is attached.
Zephaniah E. Hull.
--
1024D/E65A7801 Zephaniah E. Hull <[EMAIL PROTECTED]>
92ED 94E4 B1E6 3624 226D 5727 4453 008B E65A 7801
CCs of replies from mailing lists are requested.
<Mercury> Knghtbrd: Eww, find a better name, the movie sucked.. <G>
<Knghtbrd> Mercury: The engine is better than the movie
--- xc/lib/GL/mesa/src/drv/tdfx/tdfx_tris.c~ Tue Jun 5 16:36:24 2001
+++ xc/lib/GL/mesa/src/drv/tdfx/tdfx_tris.c Wed Oct 3 20:48:35 2001
@@ -745,7 +745,7 @@
GLuint i;
(void) flags;
- for (i = start ; i < count-3 ; i += 3 ) {
+ for (i = start ; i <= count-4 ; i += 4 ) {
#define VERT(x) (fxVB + ((x)<<shift))
fxMesa->Glide.grDrawTriangle( VERT(i), VERT(i+1), VERT(i+3) );
fxMesa->Glide.grDrawTriangle( VERT(i+1), VERT(i+2), VERT(i+3) );
PGP signature