Unconditionally update _TriangleCaps bits. Fixes software fallback bugs, such as #10687.
This commit is contained in:
@@ -1060,7 +1060,7 @@ update_tricaps(GLcontext *ctx, GLbitfield new_state)
|
|||||||
/*
|
/*
|
||||||
* Points
|
* Points
|
||||||
*/
|
*/
|
||||||
if (new_state & _NEW_POINT) {
|
if (1/*new_state & _NEW_POINT*/) {
|
||||||
if (ctx->Point.SmoothFlag)
|
if (ctx->Point.SmoothFlag)
|
||||||
ctx->_TriangleCaps |= DD_POINT_SMOOTH;
|
ctx->_TriangleCaps |= DD_POINT_SMOOTH;
|
||||||
if (ctx->Point._Size != 1.0F)
|
if (ctx->Point._Size != 1.0F)
|
||||||
@@ -1072,7 +1072,7 @@ update_tricaps(GLcontext *ctx, GLbitfield new_state)
|
|||||||
/*
|
/*
|
||||||
* Lines
|
* Lines
|
||||||
*/
|
*/
|
||||||
if (new_state & _NEW_LINE) {
|
if (1/*new_state & _NEW_LINE*/) {
|
||||||
if (ctx->Line.SmoothFlag)
|
if (ctx->Line.SmoothFlag)
|
||||||
ctx->_TriangleCaps |= DD_LINE_SMOOTH;
|
ctx->_TriangleCaps |= DD_LINE_SMOOTH;
|
||||||
if (ctx->Line.StippleFlag)
|
if (ctx->Line.StippleFlag)
|
||||||
@@ -1084,7 +1084,7 @@ update_tricaps(GLcontext *ctx, GLbitfield new_state)
|
|||||||
/*
|
/*
|
||||||
* Polygons
|
* Polygons
|
||||||
*/
|
*/
|
||||||
if (new_state & _NEW_POLYGON) {
|
if (1/*new_state & _NEW_POLYGON*/) {
|
||||||
if (ctx->Polygon.SmoothFlag)
|
if (ctx->Polygon.SmoothFlag)
|
||||||
ctx->_TriangleCaps |= DD_TRI_SMOOTH;
|
ctx->_TriangleCaps |= DD_TRI_SMOOTH;
|
||||||
if (ctx->Polygon.StippleFlag)
|
if (ctx->Polygon.StippleFlag)
|
||||||
|
Reference in New Issue
Block a user