wined3d: Set "last_was_blit" unconditionally in context_apply_clear_state().

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 2017-02-03 14:08:49 +01:00 committed by Alexandre Julliard
parent 78a945e7bf
commit 5188edacb2
1 changed files with 1 additions and 2 deletions

View File

@ -2695,8 +2695,7 @@ BOOL context_apply_clear_state(struct wined3d_context *context, const struct win
context_check_fbo_status(context, GL_FRAMEBUFFER);
}
if (context->last_was_blit)
context->last_was_blit = FALSE;
context->last_was_blit = FALSE;
/* Blending and clearing should be orthogonal, but tests on the nvidia
* driver show that disabling blending when clearing improves the clearing