wined3d: Invalidate domain shader state regardless of ARB_clip_control support.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
25e69d6645
commit
f6cbdd8a4c
|
@ -2635,8 +2635,8 @@ static void context_set_render_offscreen(struct wined3d_context *context, BOOL o
|
||||||
context_invalidate_state(context, STATE_FRONTFACE);
|
context_invalidate_state(context, STATE_FRONTFACE);
|
||||||
context_invalidate_state(context, STATE_POINTSPRITECOORDORIGIN);
|
context_invalidate_state(context, STATE_POINTSPRITECOORDORIGIN);
|
||||||
context_invalidate_state(context, STATE_TRANSFORM(WINED3D_TS_PROJECTION));
|
context_invalidate_state(context, STATE_TRANSFORM(WINED3D_TS_PROJECTION));
|
||||||
context_invalidate_state(context, STATE_SHADER(WINED3D_SHADER_TYPE_DOMAIN));
|
|
||||||
}
|
}
|
||||||
|
context_invalidate_state(context, STATE_SHADER(WINED3D_SHADER_TYPE_DOMAIN));
|
||||||
if (context->gl_info->supported[ARB_FRAGMENT_COORD_CONVENTIONS])
|
if (context->gl_info->supported[ARB_FRAGMENT_COORD_CONVENTIONS])
|
||||||
context_invalidate_state(context, STATE_SHADER(WINED3D_SHADER_TYPE_PIXEL));
|
context_invalidate_state(context, STATE_SHADER(WINED3D_SHADER_TYPE_PIXEL));
|
||||||
context->render_offscreen = offscreen;
|
context->render_offscreen = offscreen;
|
||||||
|
|
Loading…
Reference in New Issue