From 12c037dbff3d5a812e31624645d577413cd54122 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Wed, 20 Aug 2003 07:21:41 +0000 Subject: Use correct conversions when translating array colors. --- src/mesa/array_cache/ac_import.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/mesa/array_cache') diff --git a/src/mesa/array_cache/ac_import.c b/src/mesa/array_cache/ac_import.c index 5d5c24f526..ee15a6d749 100644 --- a/src/mesa/array_cache/ac_import.c +++ b/src/mesa/array_cache/ac_import.c @@ -209,13 +209,13 @@ static void import( GLcontext *ctx, switch (type) { case GL_FLOAT: - _math_trans_4f( (GLfloat (*)[4]) to->Ptr, - from->Ptr, - from->StrideB, - from->Type, - from->Size, - 0, - ac->count - ac->start); + _math_trans_4fc( (GLfloat (*)[4]) to->Ptr, + from->Ptr, + from->StrideB, + from->Type, + from->Size, + 0, + ac->count - ac->start); to->StrideB = 4 * sizeof(GLfloat); to->Type = GL_FLOAT; -- cgit v1.2.3