From 977c56df09f8d6753df2618de5a25307b7e6df7d Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 26 Feb 2015 12:26:09 -0700 Subject: [PATCH] mesa: remove _NORMAPI, _NORMAPIP macros Was only used in one place. Use equivalent _XFORMAPIP there instead. Reviewed-by: Ian Romanick --- src/mesa/main/compiler.h | 7 ------- src/mesa/math/m_xform.h | 2 +- 2 files changed, 1 insertion(+), 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[], -- 2.30.2