{
const ACcontext *ac = AC_CONTEXT(ctx);
- if (destType == 0)
+ if (destType == 0)
destType = from->Type;
switch (destType) {
to->StrideB = 4 * sizeof(GLfloat);
to->Type = GL_FLOAT;
break;
-
+
case GL_UNSIGNED_BYTE:
_math_trans_4ub( (GLubyte (*)[4]) to->Ptr,
from->Ptr,
to->StrideB = 4 * sizeof(GLushort);
to->Type = GL_UNSIGNED_SHORT;
break;
-
+
default:
_mesa_problem(ctx, "Unexpected dest format in import()");
break;
(void) stride;
import( ctx, type, to, from );
-
+
ac->IsCached.Color = GL_TRUE;
}