summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2001-04-17 20:37:44 +0000
committerBrian Paul <[email protected]>2001-04-17 20:37:44 +0000
commita6c6fce7e8515d8d33e542c9567a73d577165255 (patch)
treecf2c24e46f40c00d784745dd6a9608719d9e186b /src
parent0d47d26a68af99c0433c3e88bd062b36146291a7 (diff)
replaced ac->count with ac->count - ac->start in import_texcoord(), as in the other import functions
Diffstat (limited to 'src')
-rw-r--r--src/mesa/array_cache/ac_import.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/array_cache/ac_import.c b/src/mesa/array_cache/ac_import.c
index 1e5838a9888..a4efb068ac3 100644
--- a/src/mesa/array_cache/ac_import.c
+++ b/src/mesa/array_cache/ac_import.c
@@ -1,4 +1,4 @@
-/* $Id: ac_import.c,v 1.11 2001/03/19 02:25:36 keithw Exp $ */
+/* $Id: ac_import.c,v 1.12 2001/04/17 20:37:44 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -199,7 +199,7 @@ static void import_texcoord( GLcontext *ctx, GLuint unit,
from->Type,
from->Size,
ac->start,
- ac->count);
+ ac->count - ac->start);
to->Size = from->Size;
to->StrideB = 4 * sizeof(GLfloat);