From bc871a1baf8979310eb7adc1b87342e389616027 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sat, 10 Jun 2017 12:18:34 +0200 Subject: mesa: don't flag _NEW_POLYGON for st/mesa MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Nicolai Hähnle Reviewed-by: Brian Paul Reviewed-by: Timothy Arceri --- src/mesa/state_tracker/st_context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/state_tracker/st_context.c') diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c index 23aad0a1f41..cf296c0ea73 100644 --- a/src/mesa/state_tracker/st_context.c +++ b/src/mesa/state_tracker/st_context.c @@ -212,8 +212,7 @@ st_invalidate_state(struct gl_context * ctx) if (new_state & (_NEW_LIGHT | _NEW_LINE | - _NEW_POINT | - _NEW_POLYGON)) + _NEW_POINT)) st->dirty |= ST_NEW_RASTERIZER; if (new_state & _NEW_PROJECTION && @@ -524,6 +523,7 @@ static void st_init_driver_flags(struct st_context *st) f->NewClipPlane = ST_NEW_CLIP_STATE; f->NewClipPlaneEnable = ST_NEW_RASTERIZER; f->NewDepthClamp = ST_NEW_RASTERIZER; + f->NewPolygonState = ST_NEW_RASTERIZER; f->NewViewport = ST_NEW_VIEWPORT; } -- cgit v1.2.3