wined3d: Flag WINED3D_SHADER_CONST_PS_Y_CORR on framebuffer changes.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Matteo Bruni 2016-10-07 00:57:51 +02:00 committed by Alexandre Julliard
parent 1c88c557d3
commit dd420ccf1f
1 changed files with 1 additions and 0 deletions

View File

@ -2758,6 +2758,7 @@ void context_state_fb(struct wined3d_context *context, const struct wined3d_stat
context_apply_draw_buffers(context, rt_mask); context_apply_draw_buffers(context, rt_mask);
*cur_mask = rt_mask; *cur_mask = rt_mask;
} }
context->constant_update_mask |= WINED3D_SHADER_CONST_PS_Y_CORR;
} }
static void context_map_stage(struct wined3d_context *context, DWORD stage, DWORD unit) static void context_map_stage(struct wined3d_context *context, DWORD stage, DWORD unit)