diff options
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index ec87817c517..e9de5b7b238 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++ b/src/mesa/drivers/dri/i965/brw_context.c @@ -44,6 +44,7 @@ #include "main/texobj.h" #include "main/framebuffer.h" #include "main/stencil.h" +#include "main/state.h" #include "vbo/vbo_context.h" @@ -209,6 +210,9 @@ intel_update_state(struct gl_context * ctx) _mesa_stencil_is_write_enabled(ctx, brw->stencil_two_sided); } + if (new_state & _NEW_POLYGON) + brw->polygon_front_bit = _mesa_polygon_get_front_bit(ctx); + intel_prepare_render(brw); /* Resolve the depth buffer's HiZ buffer. */ |