summaryrefslogtreecommitdiff
path: root/src/tdfx_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tdfx_context.h')
-rw-r--r--src/tdfx_context.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tdfx_context.h b/src/tdfx_context.h
index 89a7a9d..dc8ece5 100644
--- a/src/tdfx_context.h
+++ b/src/tdfx_context.h
@@ -984,9 +984,9 @@ FX_grColorMaskv_NoLock(GLcontext *ctx, const GLboolean rgba[4]);
#define TDFXPACKCOLOR4444( r, g, b, a ) \
((((a) & 0xf0) << 8) | (((b) & 0xf0) << 4) | ((g) & 0xf0) | ((r) >> 4))
-static __inline__ GrColor_t tdfxPackColor( GLuint cpp,
- GLubyte r, GLubyte g,
- GLubyte b, GLubyte a )
+static INLINE GrColor_t tdfxPackColor( GLuint cpp,
+ GLubyte r, GLubyte g,
+ GLubyte b, GLubyte a )
{
switch ( cpp ) {
case 2: