diff options
author | Keith Whitwell <[email protected]> | 2008-04-02 10:43:37 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-04-02 10:44:04 +0100 |
commit | bc739440c29c551fcc44e9e12d0d9c170d8d24fb (patch) | |
tree | d6498a25bfcec072d593a3e4a3ccecf99d19ac98 /src/mesa | |
parent | 7f40115a52ce8f9b5883bd9241707b9e603db0e3 (diff) |
gallium: add temporary facility for rasterization-time clamping of point sizes
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_atom_rasterizer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_atom_rasterizer.c b/src/mesa/state_tracker/st_atom_rasterizer.c index 17d77f90aec..14c26c16c04 100644 --- a/src/mesa/state_tracker/st_atom_rasterizer.c +++ b/src/mesa/state_tracker/st_atom_rasterizer.c @@ -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++) { |