[PATCH 8/9] wined3d: Set "last_was_blit" unconditionally in context_apply_clear_state().
Józef Kucia
jkucia at codeweavers.com
Fri Feb 3 07:08:49 CST 2017
Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---
dlls/wined3d/context.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c
index 238ae31..c141d70 100644
--- a/dlls/wined3d/context.c
+++ b/dlls/wined3d/context.c
@@ -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
--
2.10.2
More information about the wine-patches
mailing list