Mesa (master): tnl: s/INLINE/inline/
Brian Paul
brianp at kemper.freedesktop.org
Wed Nov 30 14:21:17 UTC 2011
Module: Mesa
Branch: master
Commit: 1ad5a1a2460dcfe2dd36e19e8699aa58c4a46025
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ad5a1a2460dcfe2dd36e19e8699aa58c4a46025
Author: Brian Paul <brianp at vmware.com>
Date: Mon Nov 28 18:13:44 2011 -0700
tnl: s/INLINE/inline/
---
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 )
{
More information about the mesa-commit
mailing list