add point_sprite flag to rasterizer state

This commit is contained in:
Brian
2007-10-22 11:41:31 -06:00
parent 34abb93ea1
commit cd4d732773
2 changed files with 2 additions and 0 deletions

View File

@@ -85,6 +85,7 @@ struct pipe_rasterizer_state
unsigned poly_smooth:1; unsigned poly_smooth:1;
unsigned poly_stipple_enable:1; unsigned poly_stipple_enable:1;
unsigned point_smooth:1; unsigned point_smooth:1;
unsigned point_sprite:1;
unsigned multisample:1; /* XXX maybe more ms state in future */ unsigned multisample:1; /* XXX maybe more ms state in future */
unsigned line_smooth:1; unsigned line_smooth:1;
unsigned line_stipple_enable:1; unsigned line_stipple_enable:1;

View File

@@ -188,6 +188,7 @@ static void update_raster_state( struct st_context *st )
*/ */
raster.point_size = ctx->Point.Size; raster.point_size = ctx->Point.Size;
raster.point_smooth = ctx->Point.SmoothFlag; raster.point_smooth = ctx->Point.SmoothFlag;
raster.point_sprite = ctx->Point.PointSprite;
/* _NEW_LINE /* _NEW_LINE
*/ */