Module: wine Branch: master Commit: 663fac5bcd9fd6242a9a3e879ecb37e93343fb0b URL: http://source.winehq.org/git/wine.git/?a=commit;h=663fac5bcd9fd6242a9a3e879e...
Author: Stefan Dösinger stefan@codeweavers.com Date: Thu Jun 2 19:54:37 2011 +0200
wined3d: Set last_was_blit to FALSE in the if condition that checks for it.
---
dlls/wined3d/context.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c index 3eb6c7d..40b9cee 100644 --- a/dlls/wined3d/context.c +++ b/dlls/wined3d/context.c @@ -2221,6 +2221,7 @@ BOOL context_apply_clear_state(struct wined3d_context *context, struct wined3d_d if (context->last_was_blit) { device->frag_pipe->enable_extension(TRUE); + context->last_was_blit = FALSE; }
/* Blending and clearing should be orthogonal, but tests on the nvidia @@ -2231,7 +2232,6 @@ BOOL context_apply_clear_state(struct wined3d_context *context, struct wined3d_d checkGLcall("glEnable GL_SCISSOR_TEST"); LEAVE_GL();
- context->last_was_blit = FALSE; context_invalidate_state(context, STATE_RENDER(WINED3DRS_ALPHABLENDENABLE), state_table); context_invalidate_state(context, STATE_RENDER(WINED3DRS_SCISSORTESTENABLE), state_table); context_invalidate_state(context, STATE_SCISSORRECT, state_table);