From 5911d8731564e6bdadcb011b949dd6cde5b46f64 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Fri, 7 Jan 2005 15:26:02 +0000 Subject: [PATCH] Use the 'to' vector to determine the loop count. --- src/mesa/math/m_copy_tmp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/math/m_copy_tmp.h b/src/mesa/math/m_copy_tmp.h index a9e33511ee2..07ab1f7b2aa 100644 --- a/src/mesa/math/m_copy_tmp.h +++ b/src/mesa/math/m_copy_tmp.h @@ -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) \ -- 2.30.2