From: Lyude Date: Thu, 23 Mar 2017 00:51:08 +0000 (-0400) Subject: mesa: Fix gross indenting in _mesa_PolygonMode() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=043ee960597075bb2ed10316ba0ed8b1fa412be7;p=mesa.git mesa: Fix gross indenting in _mesa_PolygonMode() Signed-off-by: Lyude Reviewed-by: Ilia Mirkin --- diff --git a/src/mesa/main/polygon.c b/src/mesa/main/polygon.c index 60af88f9857..46673ee7ca8 100644 --- a/src/mesa/main/polygon.c +++ b/src/mesa/main/polygon.c @@ -143,14 +143,13 @@ _mesa_PolygonMode( GLenum face, GLenum mode ) return; } if (ctx->Polygon.FrontMode == mode) - return; + return; FLUSH_VERTICES(ctx, _NEW_POLYGON); ctx->Polygon.FrontMode = mode; break; case GL_FRONT_AND_BACK: - if (ctx->Polygon.FrontMode == mode && - ctx->Polygon.BackMode == mode) - return; + if (ctx->Polygon.FrontMode == mode && ctx->Polygon.BackMode == mode) + return; FLUSH_VERTICES(ctx, _NEW_POLYGON); ctx->Polygon.FrontMode = mode; ctx->Polygon.BackMode = mode; @@ -161,7 +160,7 @@ _mesa_PolygonMode( GLenum face, GLenum mode ) return; } if (ctx->Polygon.BackMode == mode) - return; + return; FLUSH_VERTICES(ctx, _NEW_POLYGON); ctx->Polygon.BackMode = mode; break;