wined3d: Do not call context_validate_onscreen_formats() in context_apply_blit_state().

It does nothing when depth_stencil is NULL.

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:
Józef Kucia 2018-02-28 12:12:34 +01:00 committed by Alexandre Julliard
parent 279cad2352
commit cae8ebab91
1 changed files with 0 additions and 2 deletions

View File

@ -2956,8 +2956,6 @@ void context_apply_blit_state(struct wined3d_context *context, const struct wine
if (wined3d_settings.offscreen_rendering_mode == ORM_FBO)
{
context_validate_onscreen_formats(context, NULL);
if (context->render_offscreen)
{
wined3d_texture_load(rt, context, FALSE);