projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mesa/st: enable carry/borrow lowering pass
[mesa.git]
/
src
/
mesa
/
main
/
lines.c
diff --git
a/src/mesa/main/lines.c
b/src/mesa/main/lines.c
index 0df9d66b056342ceb0e827ad6be5b476db1441db..3c08ed2e713d7cb5a0e11d17e8322c50d5788298 100644
(file)
--- a/
src/mesa/main/lines.c
+++ b/
src/mesa/main/lines.c
@@
-62,7
+62,8
@@
_mesa_LineWidth( GLfloat width )
*/
if (ctx->API == API_OPENGL_CORE
&& ((ctx->Const.ContextFlags & GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT)
- != 0)) {
+ != 0)
+ && width > 1.0) {
_mesa_error( ctx, GL_INVALID_VALUE, "glLineWidth" );
return;
}