diff options
author | Brian <[email protected]> | 2007-04-26 10:45:44 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-04-26 10:45:44 -0600 |
commit | b7f5b8af65603002f73b5f83b34d090536df6e00 (patch) | |
tree | 66dfed422931507fc3464c0474989db03ce74d45 /src/mesa/main | |
parent | 4099531a0af5717087dca993ba780ec98936c4fc (diff) |
Unconditionally update _TriangleCaps bits. Fixes software fallback bugs, such as #10687.
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/state.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c index 32af3ccc620..96ee5127e11 100644 --- a/src/mesa/main/state.c +++ b/src/mesa/main/state.c @@ -1060,7 +1060,7 @@ update_tricaps(GLcontext *ctx, GLbitfield new_state) /* * Points */ - if (new_state & _NEW_POINT) { + if (1/*new_state & _NEW_POINT*/) { if (ctx->Point.SmoothFlag) ctx->_TriangleCaps |= DD_POINT_SMOOTH; if (ctx->Point._Size != 1.0F) @@ -1072,7 +1072,7 @@ update_tricaps(GLcontext *ctx, GLbitfield new_state) /* * Lines */ - if (new_state & _NEW_LINE) { + if (1/*new_state & _NEW_LINE*/) { if (ctx->Line.SmoothFlag) ctx->_TriangleCaps |= DD_LINE_SMOOTH; if (ctx->Line.StippleFlag) @@ -1084,7 +1084,7 @@ update_tricaps(GLcontext *ctx, GLbitfield new_state) /* * Polygons */ - if (new_state & _NEW_POLYGON) { + if (1/*new_state & _NEW_POLYGON*/) { if (ctx->Polygon.SmoothFlag) ctx->_TriangleCaps |= DD_TRI_SMOOTH; if (ctx->Polygon.StippleFlag) |