From: Grazvydas Ignotas Date: Sun, 14 Jan 2018 19:52:52 +0000 (+0200) Subject: osmesa: don't check SmoothFlag twice X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6129c03cc7328696f69c5aaa7e204c8257174933;p=mesa.git osmesa: don't check SmoothFlag twice Trivial. Found by Coccinelle. Reviewed-by: Eric Engestrom --- diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c index 1df3da4cd24..e0f87b850a7 100644 --- a/src/mesa/drivers/osmesa/osmesa.c +++ b/src/mesa/drivers/osmesa/osmesa.c @@ -214,7 +214,6 @@ osmesa_choose_line_function( struct gl_context *ctx ) } if (ctx->RenderMode != GL_RENDER || - ctx->Line.SmoothFlag || ctx->Texture._MaxEnabledTexImageUnit == -1 || ctx->Light.ShadeModel != GL_FLAT || ctx->Line.Width != 1.0F ||