mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 16:28:08 +02:00
Rename quad function to quadr to avoid clash with Solaris quad typedef
Signed-off-by: Brian Paul <brian.paul@tungstengraphics.com>
This commit is contained in:
parent
1043a7c71a
commit
f30e4af734
1 changed files with 3 additions and 3 deletions
|
|
@ -389,7 +389,7 @@ static void TAG(triangle)( GLcontext *ctx, GLuint e0, GLuint e1, GLuint e2 )
|
|||
|
||||
#if DO_QUAD
|
||||
#if DO_FULL_QUAD
|
||||
static void TAG(quad)( GLcontext *ctx,
|
||||
static void TAG(quadr)( GLcontext *ctx,
|
||||
GLuint e0, GLuint e1, GLuint e2, GLuint e3 )
|
||||
{
|
||||
struct vertex_buffer *VB = &TNL_CONTEXT( ctx )->vb;
|
||||
|
|
@ -673,7 +673,7 @@ static void TAG(quad)( GLcontext *ctx,
|
|||
}
|
||||
}
|
||||
#else
|
||||
static void TAG(quad)( GLcontext *ctx, GLuint e0,
|
||||
static void TAG(quadr)( GLcontext *ctx, GLuint e0,
|
||||
GLuint e1, GLuint e2, GLuint e3 )
|
||||
{
|
||||
if (DO_UNFILLED) {
|
||||
|
|
@ -765,7 +765,7 @@ static void TAG(points)( GLcontext *ctx, GLuint first, GLuint last )
|
|||
static void TAG(init)( void )
|
||||
{
|
||||
#if DO_QUAD
|
||||
TAB[IND].quad = TAG(quad);
|
||||
TAB[IND].quad = TAG(quadr);
|
||||
#endif
|
||||
#if DO_TRI
|
||||
TAB[IND].triangle = TAG(triangle);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue