osmesa: don't check SmoothFlag twice
authorGrazvydas Ignotas <notasas@gmail.com>
Sun, 14 Jan 2018 19:52:52 +0000 (21:52 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Tue, 16 Jan 2018 22:39:55 +0000 (00:39 +0200)
Trivial. Found by Coccinelle.

Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/mesa/drivers/osmesa/osmesa.c

index 1df3da4cd24ca96a2bcaac899d2072f1dd18c158..e0f87b850a7f1155374df8f8ab9dd71a47bf690b 100644 (file)
@@ -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 ||