diff --git a/src/mesa/main/points.c b/src/mesa/main/points.c index 87bfae2..638c5a4 100644 --- a/src/mesa/main/points.c +++ b/src/mesa/main/points.c @@ -57,6 +57,11 @@ _mesa_PointSize( GLfloat size ) FLUSH_VERTICES(ctx, _NEW_POINT); ctx->Point.Size = size; + if (ctx->Point.Size == 1.0F) + ctx->_TriangleCaps &= ~DD_POINT_SIZE; + else + ctx->_TriangleCaps |= DD_POINT_SIZE; + if (ctx->Driver.PointSize) ctx->Driver.PointSize(ctx, size); }