gallium: add temporary facility for rasterization-time clamping of point sizes

This commit is contained in:
Keith Whitwell
2008-04-02 10:43:37 +01:00
parent 7f40115a52
commit bc739440c2
3 changed files with 19 additions and 1 deletions

View File

@@ -198,6 +198,10 @@ static void update_raster_state( struct st_context *st )
/* _NEW_POINT
*/
raster->point_size = ctx->Point.Size;
raster->point_size_min = 0; /* temporary, will go away */
raster->point_size_max = 1000; /* temporary, will go away */
raster->point_smooth = ctx->Point.SmoothFlag;
raster->point_sprite = ctx->Point.PointSprite;
for (i = 0; i < MAX_TEXTURE_COORD_UNITS; i++) {