removed extra right-paren

This commit is contained in:
Brian Paul
2002-06-25 15:25:17 +00:00
parent 07bb9884a5
commit 7082420653
2 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
/* $Id: osmesa.c,v 1.83 2002/06/25 08:44:56 keithw Exp $ */
/* $Id: osmesa.c,v 1.84 2002/06/25 15:25:17 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -1961,7 +1961,7 @@ osmesa_choose_triangle_function( GLcontext *ctx )
osmesa->format != OSMESA_BGRA &&
osmesa->format != OSMESA_ARGB) return (swrast_tri_func) NULL;
if (ctx->Polygon.CullFlag &&
ctx->Polygon.CullFaceMode == GL_FRONT_AND_BACK))
ctx->Polygon.CullFaceMode == GL_FRONT_AND_BACK)
return (swrast_tri_func) NULL;
if (swrast->_RasterMask == DEPTH_BIT &&

View File

@@ -1,4 +1,4 @@
/* $Id: xm_tri.c,v 1.25 2002/06/25 08:44:27 keithw Exp $ */
/* $Id: xm_tri.c,v 1.26 2002/06/25 15:25:17 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -1532,7 +1532,7 @@ static swrast_tri_func get_triangle_func( GLcontext *ctx )
if (ctx->Texture._EnabledUnits) return (swrast_tri_func) NULL;
if (swrast->_RasterMask & MULTI_DRAW_BIT) return (swrast_tri_func) NULL;
if (ctx->Polygon.CullFlag &&
ctx->Polygon.CullFaceMode == GL_FRONT_AND_BACK))
ctx->Polygon.CullFaceMode == GL_FRONT_AND_BACK)
return (swrast_tri_func) NULL;
if (xmesa->xm_buffer->buffer==XIMAGE) {