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:
parent
78a945e7bf
commit
5188edacb2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue