diff options
author | Brian Paul <[email protected]> | 2000-05-05 23:41:52 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-05-05 23:41:52 +0000 |
commit | 1afd946ce850fe5ffa01b24c3528fa382559ebcc (patch) | |
tree | 2efb59a80cd055475dd9c4a160fd7b842faa585b /src/mesa | |
parent | cafc3b35c73b71857a6807b9b591c0ac5fbb5cec (diff) |
toggle DD_LINE_SMOOTH in GL_LINE_SMOOTH case
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/enable.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c index b5e659afd10..70e29b98690 100644 --- a/src/mesa/main/enable.c +++ b/src/mesa/main/enable.c @@ -1,4 +1,4 @@ -/* $Id: enable.c,v 1.16 2000/05/04 13:48:49 brianp Exp $ */ +/* $Id: enable.c,v 1.17 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; |