Use the 'to' vector to determine the loop count.

This commit is contained in:
Keith Whitwell 2005-01-07 15:26:02 +00:00
parent e0be62e2c5
commit 5911d87315

View file

@ -34,7 +34,7 @@ static void TAG2(copy, BITS)( GLvector4f *to, const GLvector4f *f ) \
GLfloat (*t)[4] = (GLfloat (*)[4])to->start; \
GLfloat *from = f->start; \
GLuint stride = f->stride; \
GLuint count = f->count; \
GLuint count = to->count; \
GLuint i; \
\
if (BITS) \