Module: wine Branch: master Commit: 5188edacb2458abcb00bf48a2c64da8c88b8ba8b URL: http://source.winehq.org/git/wine.git/?a=commit;h=5188edacb2458abcb00bf48a2c...
Author: Józef Kucia jkucia@codeweavers.com Date: Fri Feb 3 14:08:49 2017 +0100
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
---
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