summaryrefslogtreecommitdiff
path: root/src/mesa/math
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2005-01-07 15:26:02 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2005-01-07 15:26:02 +0000
commit5911d8731564e6bdadcb011b949dd6cde5b46f64 (patch)
tree96d8820e2b7d595c00b47efc5c2c155ab31a4190 /src/mesa/math
parente0be62e2c53991986ac5aa8caab285c55045cb6c (diff)
Use the 'to' vector to determine the loop count.
Diffstat (limited to 'src/mesa/math')
-rw-r--r--src/mesa/math/m_copy_tmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/math/m_copy_tmp.h b/src/mesa/math/m_copy_tmp.h
index a9e33511ee..07ab1f7b2a 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) \