mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 15:30:14 +01:00
replaced __inline with INLINE
This commit is contained in:
parent
cff1cfd90d
commit
bc07a99cc3
1 changed files with 8 additions and 10 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: t_vb_cliptmp.h,v 1.13 2001/07/12 22:09:22 keithw Exp $ */
|
||||
/* $Id: t_vb_cliptmp.h,v 1.14 2001/07/13 17:26:39 brianp Exp $ */
|
||||
|
||||
/*
|
||||
* Mesa 3-D graphics library
|
||||
|
|
@ -118,9 +118,8 @@ do { \
|
|||
|
||||
/* Clip a line against the viewport and user clip planes.
|
||||
*/
|
||||
static __inline void TAG(clip_line)( GLcontext *ctx,
|
||||
GLuint i, GLuint j,
|
||||
GLubyte mask )
|
||||
static INLINE void
|
||||
TAG(clip_line)( GLcontext *ctx, GLuint i, GLuint j, GLubyte mask )
|
||||
{
|
||||
TNLcontext *tnl = TNL_CONTEXT(ctx);
|
||||
struct vertex_buffer *VB = &tnl->vb;
|
||||
|
|
@ -160,9 +159,8 @@ static __inline void TAG(clip_line)( GLcontext *ctx,
|
|||
|
||||
/* Clip a triangle against the viewport and user clip planes.
|
||||
*/
|
||||
static __inline void TAG(clip_tri)( GLcontext *ctx,
|
||||
GLuint v0, GLuint v1, GLuint v2,
|
||||
GLubyte mask )
|
||||
static INLINE void
|
||||
TAG(clip_tri)( GLcontext *ctx, GLuint v0, GLuint v1, GLuint v2, GLubyte mask )
|
||||
{
|
||||
TNLcontext *tnl = TNL_CONTEXT(ctx);
|
||||
struct vertex_buffer *VB = &tnl->vb;
|
||||
|
|
@ -213,9 +211,9 @@ static __inline void TAG(clip_tri)( GLcontext *ctx,
|
|||
|
||||
/* Clip a quad against the viewport and user clip planes.
|
||||
*/
|
||||
static __inline void TAG(clip_quad)( GLcontext *ctx,
|
||||
GLuint v0, GLuint v1, GLuint v2, GLuint v3,
|
||||
GLubyte mask )
|
||||
static INLINE void
|
||||
TAG(clip_quad)( GLcontext *ctx, GLuint v0, GLuint v1, GLuint v2, GLuint v3,
|
||||
GLubyte mask )
|
||||
{
|
||||
TNLcontext *tnl = TNL_CONTEXT(ctx);
|
||||
struct vertex_buffer *VB = &tnl->vb;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue