summaryrefslogtreecommitdiff
path: root/src/mesa/math/m_translate.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-06-13 17:13:15 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-06-13 17:13:15 +0000
commit7dfdf3a5b74d3498a98f71d18eb2e706f2fedd04 (patch)
treef3dba60519f87cbaf6752d9eb13bb32c98817a40 /src/mesa/math/m_translate.h
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/math/m_translate.h')
-rw-r--r--src/mesa/math/m_translate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/math/m_translate.h b/src/mesa/math/m_translate.h
index d76eac6939..0bcf96005c 100644
--- a/src/mesa/math/m_translate.h
+++ b/src/mesa/math/m_translate.h
@@ -101,7 +101,7 @@ extern void _math_trans_4f(GLfloat (*to)[4],
GLuint n );
/** Convert to normalized floats in [0,1] or [-1, 1] */
-extern void _math_trans_4fc(GLfloat (*to)[4],
+extern void _math_trans_4fn(GLfloat (*to)[4],
CONST void *ptr,
GLuint stride,
GLenum type,
@@ -109,7 +109,7 @@ extern void _math_trans_4fc(GLfloat (*to)[4],
GLuint start,
GLuint n );
-extern void _math_trans_3f(GLfloat (*to)[3],
+extern void _math_trans_3fn(GLfloat (*to)[3],
CONST void *ptr,
GLuint stride,
GLenum type,