replaced ac->count with ac->count - ac->start in import_texcoord(), as in the other...
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 17 Apr 2001 20:37:44 +0000 (20:37 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 17 Apr 2001 20:37:44 +0000 (20:37 +0000)
src/mesa/array_cache/ac_import.c

index 1e5838a..a4efb06 100644 (file)
@@ -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);