From 6129c03cc7328696f69c5aaa7e204c8257174933 Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Sun, 14 Jan 2018 21:52:52 +0200 Subject: osmesa: don't check SmoothFlag twice Trivial. Found by Coccinelle. Reviewed-by: Eric Engestrom --- src/mesa/drivers/osmesa/osmesa.c | 1 - 1 file changed, 1 deletion(-) 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 || -- cgit v1.2.3