projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cafc3b3
)
toggle DD_LINE_SMOOTH in GL_LINE_SMOOTH case
author
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 5 May 2000 23:41:52 +0000
(23:41 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 5 May 2000 23:41:52 +0000
(23:41 +0000)
src/mesa/main/enable.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/enable.c
b/src/mesa/main/enable.c
index b5e659afd10ed5451c7a8ce1d45306a6ed6c083e..70e29b986901a2a8d81dcf31f8a646796bdd2eef 100644
(file)
--- a/
src/mesa/main/enable.c
+++ b/
src/mesa/main/enable.c
@@
-1,4
+1,4
@@
-/* $Id: enable.c,v 1.1
6 2000/05/04 13:48:49
brianp Exp $ */
+/* $Id: enable.c,v 1.1
7 2000/05/05 23:41:52
brianp Exp $ */
/*
* Mesa 3-D graphics library
@@
-195,6
+195,7
@@
void _mesa_set_enable( GLcontext *ctx, GLenum cap, GLboolean state )
case GL_LINE_SMOOTH:
if (ctx->Line.SmoothFlag!=state) {
ctx->Line.SmoothFlag = state;
+ ctx->TriangleCaps ^= DD_LINE_SMOOTH;
ctx->NewState |= NEW_RASTER_OPS;
}
break;