diff options
author | Grazvydas Ignotas <[email protected]> | 2018-01-14 21:52:52 +0200 |
---|---|---|
committer | Grazvydas Ignotas <[email protected]> | 2018-01-17 00:39:55 +0200 |
commit | 6129c03cc7328696f69c5aaa7e204c8257174933 (patch) | |
tree | 4fefdbd3073f0d04174831e734cb268b3675f65b | |
parent | 05f73b96721518314729e49b7cadfb2d915a9ff5 (diff) |
osmesa: don't check SmoothFlag twice
Trivial. Found by Coccinelle.
Reviewed-by: Eric Engestrom <[email protected]>
-rw-r--r-- | src/mesa/drivers/osmesa/osmesa.c | 1 |
1 files changed, 0 insertions, 1 deletions
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 || |