summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_array_api.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2001-11-22 09:23:36 +0000
committerKeith Whitwell <[email protected]>2001-11-22 09:23:36 +0000
commitcbf9731119647e5c75be9dbb3042155c9b952292 (patch)
tree4cef1c2522924c5024d146513dfdef27f02db40f /src/mesa/tnl/t_array_api.c
parentd4ece7b2f4c209b199ec4c5fcf15837b64ae2a8f (diff)
Another locked drawarrys fix
Diffstat (limited to 'src/mesa/tnl/t_array_api.c')
-rw-r--r--src/mesa/tnl/t_array_api.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/tnl/t_array_api.c b/src/mesa/tnl/t_array_api.c
index e674169c379..e14fd1a6d18 100644
--- a/src/mesa/tnl/t_array_api.c
+++ b/src/mesa/tnl/t_array_api.c
@@ -1,4 +1,4 @@
-/* $Id: t_array_api.c,v 1.19 2001/09/14 17:00:42 brianp Exp $ */
+/* $Id: t_array_api.c,v 1.20 2001/11/22 09:23:36 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -133,8 +133,6 @@ _tnl_DrawArrays(GLenum mode, GLint start, GLsizei count)
start = ctx->Array.LockFirst;
if (start + count > (GLint) ctx->Array.LockCount)
count = ctx->Array.LockCount - start;
- if (start >= count)
- return;
/* Locked drawarrays. Reuse any previously transformed data.
*/