summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2003-10-14 11:18:04 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2003-10-14 11:18:04 +0000
commitbe3c25458bc5377b4fb54fe66c1dadd4c0a9d855 (patch)
tree573ede08bae129d78a05c4b0a2013c1ab4145a0c
parenta384b0c5ebcdf3a8e796a7ce8ef775937c596431 (diff)
Use correct check to terminate DrawArrays loop
-rw-r--r--src/mesa/main/api_noop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/api_noop.c b/src/mesa/main/api_noop.c
index 9c6636b2b4..8cdbecc1e6 100644
--- a/src/mesa/main/api_noop.c
+++ b/src/mesa/main/api_noop.c
@@ -616,7 +616,7 @@ void _mesa_noop_DrawArrays(GLenum mode, GLint start, GLsizei count)
return;
glBegin(mode);
- for (i = start ; i <= count ; i++)
+ for (i = start ; i < count ; i++)
glArrayElement( i );
glEnd();
}