From 7dfdf3a5b74d3498a98f71d18eb2e706f2fedd04 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 13 Jun 2006 17:13:15 +0000 Subject: Rename some functions/macros to better reflect their behaviour: 3F -> 3FN because integer types are normalized 4FC -> 3FN because we can normalize non-color attributes --- src/mesa/array_cache/ac_import.c | 6 +++--- 1 file changed, 3 insertions(+), 3 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 3612a1e019..119e58bf24 100644 --- a/src/mesa/array_cache/ac_import.c +++ b/src/mesa/array_cache/ac_import.c @@ -221,7 +221,7 @@ import( const GLcontext *ctx, switch (destType) { case GL_FLOAT: - _math_trans_4fc( (GLfloat (*)[4]) to->Ptr, + _math_trans_4fn( (GLfloat (*)[4]) to->Ptr, from->Ptr, from->StrideB, from->Type, @@ -343,7 +343,7 @@ import_normal( GLcontext *ctx, GLenum type, GLuint stride ) ASSERT(type == GL_FLOAT); ASSERT(stride == 3*sizeof(GLfloat) || stride == 0); - _math_trans_3f( (GLfloat (*)[3]) to->Ptr, + _math_trans_3fn((GLfloat (*)[3]) to->Ptr, from->Ptr, from->StrideB, from->Type, @@ -476,7 +476,7 @@ import_attrib( GLcontext *ctx, GLuint index, GLenum type, GLuint stride ) ASSERT(ac->count - ac->start < ctx->Const.MaxArrayLockSize); if (from->Normalized) { - _math_trans_4fc( (GLfloat (*)[4]) to->Ptr, + _math_trans_4fn( (GLfloat (*)[4]) to->Ptr, from->Ptr, from->StrideB, from->Type, -- cgit v1.2.3