summaryrefslogtreecommitdiff
path: root/src/mesa/array_cache
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2003-08-20 07:21:41 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2003-08-20 07:21:41 +0000
commit12c037dbff3d5a812e31624645d577413cd54122 (patch)
treef9ef3af36fb03266bcfa89ed61578655ca2e2ec0 /src/mesa/array_cache
parent9ec58c2c5bbf90428a0e8e1c4f4af3805c602cd3 (diff)
Use correct conversions when translating array colors.
Diffstat (limited to 'src/mesa/array_cache')
-rw-r--r--src/mesa/array_cache/ac_import.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mesa/array_cache/ac_import.c b/src/mesa/array_cache/ac_import.c
index 5d5c24f526b..ee15a6d7490 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;