Skip to content
Snippets Groups Projects
Commit 5188edac authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard
Browse files

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


Signed-off-by: default avatarJózef Kucia <jkucia@codeweavers.com>
Signed-off-by: default avatarHenri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent 78a945e7
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment