Remove ctx->Point._Size and ctx->Line._Width.
The clamping for these values depends on whether we're drawing AA or non-AA points, lines. Defer clamping until drawing time. Drivers could compute and keep clamped AA and clamped non-AA values if desired.
This commit is contained in:
@@ -233,7 +233,7 @@ void _tnl_get_attr( GLcontext *ctx, const void *vin,
|
||||
/* If the hardware vertex doesn't have point size then use size from
|
||||
* GLcontext. XXX this will be wrong if drawing attenuated points!
|
||||
*/
|
||||
dest[0] = ctx->Point._Size;
|
||||
dest[0] = ctx->Point.Size;
|
||||
}
|
||||
else {
|
||||
_mesa_memcpy( dest, ctx->Current.Attrib[attr], 4*sizeof(GLfloat));
|
||||
|
Reference in New Issue
Block a user