X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fdrivers%2Fdri%2Fr128%2Fr128_tex.h;h=7df8decf76bbbb6c8d9d1104b7e5ed0c7c0f2c0d;hb=87a6fe57e85ea5f273e808211a0e61d2b837b8e2;hp=ddfdf6837818354e1556763450183123602e6e49;hpb=6af3dca18a2315ea431b5ea868913093d2111491;p=mesa.git diff --git a/src/mesa/drivers/dri/r128/r128_tex.h b/src/mesa/drivers/dri/r128/r128_tex.h index ddfdf683781..7df8decf76b 100644 --- a/src/mesa/drivers/dri/r128/r128_tex.h +++ b/src/mesa/drivers/dri/r128/r128_tex.h @@ -1,4 +1,3 @@ -/* $XFree86: xc/lib/GL/mesa/src/drv/r128/r128_tex.h,v 1.7 2002/02/22 21:44:58 dawes Exp $ */ /************************************************************************** Copyright 1999, 2000 ATI Technologies Inc. and Precision Insight, Inc., @@ -36,8 +35,6 @@ USE OR OTHER DEALINGS IN THE SOFTWARE. #ifndef __R128_TEX_H__ #define __R128_TEX_H__ -#ifdef GLX_DIRECT_RENDERING - extern void r128UpdateTextureState( GLcontext *ctx ); extern void r128UploadTexImages( r128ContextPtr rmesa, r128TexObjPtr t ); @@ -70,9 +67,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__ uint32_t r128PackColor( GLuint cpp, - GLubyte r, GLubyte g, - GLubyte b, GLubyte a ) +static INLINE uint32_t r128PackColor( GLuint cpp, + GLubyte r, GLubyte g, + GLubyte b, GLubyte a ) { switch ( cpp ) { case 2: @@ -84,5 +81,4 @@ static __inline__ uint32_t r128PackColor( GLuint cpp, } } -#endif #endif /* __R128_TEX_H__ */