osmesa: don't check SmoothFlag twice
Trivial. Found by Coccinelle. Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
This commit is contained in:
@@ -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 ||
|
||||
|
Reference in New Issue
Block a user