summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r128/r128_tex.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-06-21 10:34:38 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-06-21 10:34:38 -0600
commit5ee7b7912c1fe7b09d13ae385088e4281b62eba6 (patch)
tree4728079f9da95a01c9f7ecb5e899a8b77a8e25a7 /src/mesa/drivers/dri/r128/r128_tex.h
parent055ab81920e7299ec4fce8f9908c88c001050a92 (diff)
replace __inline and __inline__ with INLINE macro
Diffstat (limited to 'src/mesa/drivers/dri/r128/r128_tex.h')
-rw-r--r--src/mesa/drivers/dri/r128/r128_tex.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/r128/r128_tex.h b/src/mesa/drivers/dri/r128/r128_tex.h
index 54053b8b31..40168f83bc 100644
--- a/src/mesa/drivers/dri/r128/r128_tex.h
+++ b/src/mesa/drivers/dri/r128/r128_tex.h
@@ -68,9 +68,9 @@ extern void r128InitTextureFuncs( struct dd_function_table *functions );
#define R128PACKCOLOR4444( r, g, b, a ) \
((((a) & 0xf0) << 8) | (((r) & 0xf0) << 4) | ((g) & 0xf0) | ((b) >> 4))
-static __inline__ u_int32_t r128PackColor( GLuint cpp,
- GLubyte r, GLubyte g,
- GLubyte b, GLubyte a )
+static INLINE u_int32_t r128PackColor( GLuint cpp,
+ GLubyte r, GLubyte g,
+ GLubyte b, GLubyte a )
{
switch ( cpp ) {
case 2: