summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-02-26 12:26:09 -0700
committerBrian Paul <[email protected]>2015-02-28 13:39:57 -0700
commit977c56df09f8d6753df2618de5a25307b7e6df7d (patch)
tree09db1ed9a843c3aa40831edd417d2b02f60e17ff
parent61d344ebba65aa35fef9b0bec92be98469b71f71 (diff)
mesa: remove _NORMAPI, _NORMAPIP macros
Was only used in one place. Use equivalent _XFORMAPIP there instead. Reviewed-by: Ian Romanick <[email protected]>
-rw-r--r--src/mesa/main/compiler.h7
-rw-r--r--src/mesa/math/m_xform.h2
2 files changed, 1 insertions, 8 deletions
diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
index c2e3b390ebf..a0d2a293d8a 100644
--- a/src/mesa/main/compiler.h
+++ b/src/mesa/main/compiler.h
@@ -170,13 +170,6 @@ static inline GLuint CPU_TO_LE32(GLuint x)
#endif
#endif
-#ifdef USE_X86_ASM
-#define _NORMAPI _ASMAPI
-#define _NORMAPIP _ASMAPIP
-#else
-#define _NORMAPI
-#define _NORMAPIP *
-#endif
/**
* LONGSTRING macro
diff --git a/src/mesa/math/m_xform.h b/src/mesa/math/m_xform.h
index e4588032298..2ed62e7115f 100644
--- a/src/mesa/math/m_xform.h
+++ b/src/mesa/math/m_xform.h
@@ -119,7 +119,7 @@ typedef void (*vec_copy_func)( GLvector4f *to,
/*
* Functions for transformation of normals in the VB.
*/
-typedef void (_NORMAPIP normal_func)( const GLmatrix *mat,
+typedef void (_XFORMAPIP normal_func)( const GLmatrix *mat,
GLfloat scale,
const GLvector4f *in,
const GLfloat lengths[],