From bc321db75b7a4d2f5b71382bfd61d1eced1905cd Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Wed, 31 Dec 2014 02:20:51 -0500 Subject: st/mesa: add EXT_polygon_offset_clamp support Signed-off-by: Ilia Mirkin Reviewed-by: Glenn Kennard Reviewed-by: Roland Scheidegger --- src/mesa/state_tracker/st_atom_rasterizer.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/state_tracker/st_atom_rasterizer.c') diff --git a/src/mesa/state_tracker/st_atom_rasterizer.c b/src/mesa/state_tracker/st_atom_rasterizer.c index 606f19a18ef..cceed42c828 100644 --- a/src/mesa/state_tracker/st_atom_rasterizer.c +++ b/src/mesa/state_tracker/st_atom_rasterizer.c @@ -155,6 +155,7 @@ static void update_raster_state( struct st_context *st ) raster->offset_tri = ctx->Polygon.OffsetFill; raster->offset_units = ctx->Polygon.OffsetUnits; raster->offset_scale = ctx->Polygon.OffsetFactor; + raster->offset_clamp = ctx->Polygon.OffsetClamp; } raster->poly_smooth = ctx->Polygon.SmoothFlag; -- cgit v1.2.3