summaryrefslogtreecommitdiffstats
path: root/src/mesa/array_cache
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-06-13 17:13:15 +0000
committerBrian Paul <[email protected]>2006-06-13 17:13:15 +0000
commit7dfdf3a5b74d3498a98f71d18eb2e706f2fedd04 (patch)
treef3dba60519f87cbaf6752d9eb13bb32c98817a40 /src/mesa/array_cache
parent44b82dffe836b25d42c7a3d7b4e62d0eb7cc033f (diff)
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
Diffstat (limited to 'src/mesa/array_cache')
-rw-r--r--src/mesa/array_cache/ac_import.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/array_cache/ac_import.c b/src/mesa/array_cache/ac_import.c
index 3612a1e019b..119e58bf249 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,