[Mesa-dev] [PATCH 3/3] tnl: s/INLINE/inline/
Brian Paul
brianp at vmware.com
Mon Nov 28 17:16:02 PST 2011
---
src/mesa/tnl/t_context.h | 2 +-
src/mesa/tnl/t_vb_cliptmp.h | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/mesa/tnl/t_context.h b/src/mesa/tnl/t_context.h
index b3fce81..a7e8c7c 100644
--- a/src/mesa/tnl/t_context.h
+++ b/src/mesa/tnl/t_context.h
@@ -173,7 +173,7 @@ enum {
#define PRIM_END 0x20
#define PRIM_MODE_MASK 0x0f
-static INLINE GLuint _tnl_translate_prim( const struct _mesa_prim *prim )
+static inline GLuint _tnl_translate_prim( const struct _mesa_prim *prim )
{
GLuint flag;
flag = prim->mode;
diff --git a/src/mesa/tnl/t_vb_cliptmp.h b/src/mesa/tnl/t_vb_cliptmp.h
index d593193..0b45bc5 100644
--- a/src/mesa/tnl/t_vb_cliptmp.h
+++ b/src/mesa/tnl/t_vb_cliptmp.h
@@ -114,7 +114,7 @@ do { \
/* Clip a line against the viewport and user clip planes.
*/
-static INLINE void
+static inline void
TAG(clip_line)( struct gl_context *ctx, GLuint v0, GLuint v1, GLubyte mask )
{
TNLcontext *tnl = TNL_CONTEXT(ctx);
@@ -183,7 +183,7 @@ TAG(clip_line)( struct gl_context *ctx, GLuint v0, GLuint v1, GLubyte mask )
/* Clip a triangle against the viewport and user clip planes.
*/
-static INLINE void
+static inline void
TAG(clip_tri)( struct gl_context *ctx, GLuint v0, GLuint v1, GLuint v2, GLubyte mask )
{
TNLcontext *tnl = TNL_CONTEXT(ctx);
@@ -262,7 +262,7 @@ TAG(clip_tri)( struct gl_context *ctx, GLuint v0, GLuint v1, GLuint v2, GLubyte
/* Clip a quad against the viewport and user clip planes.
*/
-static INLINE void
+static inline void
TAG(clip_quad)( struct gl_context *ctx, GLuint v0, GLuint v1, GLuint v2, GLuint v3,
GLubyte mask )
{
--
1.7.3.4
More information about the mesa-dev
mailing list