osmesa: don't check SmoothFlag twice

Trivial. Found by Coccinelle.

Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
This commit is contained in:
Grazvydas Ignotas
2018-01-14 21:52:52 +02:00
parent 05f73b9672
commit 6129c03cc7

View 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 ||