diff options
author | keithw <keithw> | 2001-10-04 19:13:03 +0000 |
---|---|---|
committer | keithw <keithw> | 2001-10-04 19:13:03 +0000 |
commit | cb03b5c90da922247fca85d2a9c27e5cb4b56e4f (patch) | |
tree | 898a17a276d515bed0cfc8f383b608080d88bd00 | |
parent | c725e9065e19928e056b21abec15e22bf8ff64e1 (diff) |
Fix fixed quads loop -- Zephaniah Hullmesa-3-5-branch
-rw-r--r-- | xc/lib/GL/mesa/src/drv/tdfx/tdfx_tris.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xc/lib/GL/mesa/src/drv/tdfx/tdfx_tris.c b/xc/lib/GL/mesa/src/drv/tdfx/tdfx_tris.c index f8d54ccfb..1dd48c2bd 100644 --- a/xc/lib/GL/mesa/src/drv/tdfx/tdfx_tris.c +++ b/xc/lib/GL/mesa/src/drv/tdfx/tdfx_tris.c @@ -745,7 +745,7 @@ static void tdfx_render_vb_quads( GLcontext *ctx, GLuint i; (void) flags; - for (i = start ; i < count-4 ; i += 4 ) { + 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) ); |