From: Keith Whitwell Date: Fri, 7 Jan 2005 15:26:02 +0000 (+0000) Subject: Use the 'to' vector to determine the loop count. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5911d8731564e6bdadcb011b949dd6cde5b46f64;p=mesa.git Use the 'to' vector to determine the loop count. --- 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) \