projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05f73b9
)
osmesa: don't check SmoothFlag twice
author
Grazvydas Ignotas
<notasas@gmail.com>
Sun, 14 Jan 2018 19:52:52 +0000
(21:52 +0200)
committer
Grazvydas 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
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/osmesa/osmesa.c
b/src/mesa/drivers/osmesa/osmesa.c
index 1df3da4cd24ca96a2bcaac899d2072f1dd18c158..e0f87b850a7f1155374df8f8ab9dd71a47bf690b 100644
(file)
--- 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 ||