mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
toggle DD_LINE_SMOOTH in GL_LINE_SMOOTH case
This commit is contained in:
parent
cafc3b35c7
commit
1afd946ce8
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue