diff options
author | Alex Deucher <[email protected]> | 2010-03-08 10:00:59 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2010-03-08 10:00:59 -0500 |
commit | cbe28cb892e3b451d2d2cf6769ef7ef131f1853b (patch) | |
tree | ca869120879d25fe18690dd3f3f3ecdeb41aa712 /src | |
parent | 97d40edb07aa6c67d21eb831898ac5387c18fdbc (diff) |
r600: recalculate point size, if point min/max size changes
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/r600/r700_state.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r600/r700_state.c b/src/mesa/drivers/dri/r600/r700_state.c index 3e10e5b37ab..6f156b54096 100644 --- a/src/mesa/drivers/dri/r600/r700_state.c +++ b/src/mesa/drivers/dri/r600/r700_state.c @@ -911,10 +911,12 @@ static void r700PointParameter(GLcontext * ctx, GLenum pname, const GLfloat * pa case GL_POINT_SIZE_MIN: SETfield(r700->PA_SU_POINT_MINMAX.u32All, (int)(ctx->Point.MinSize * 8.0), MIN_SIZE_shift, MIN_SIZE_mask); + r700PointSize(ctx, ctx->Point.Size); break; case GL_POINT_SIZE_MAX: SETfield(r700->PA_SU_POINT_MINMAX.u32All, (int)(ctx->Point.MaxSize * 8.0), MAX_SIZE_shift, MAX_SIZE_mask); + r700PointSize(ctx, ctx->Point.Size); break; case GL_POINT_DISTANCE_ATTENUATION: break; |