wined3d: Also clear context->current_fbo in context_apply_blit_state().

The draw buffer handling code depends on this being current. This fixes a bug
exposed by commit 075fa6547c.
This commit is contained in:
Henri Verbeet 2013-05-27 09:22:48 +02:00 committed by Alexandre Julliard
parent 338cb2e5dd
commit 7ca6839c94
1 changed files with 1 additions and 0 deletions

View File

@ -2149,6 +2149,7 @@ void context_apply_blit_state(struct wined3d_context *context, const struct wine
} }
else else
{ {
context->current_fbo = NULL;
context_bind_fbo(context, GL_FRAMEBUFFER, NULL); context_bind_fbo(context, GL_FRAMEBUFFER, NULL);
rt_mask = context_generate_rt_mask_from_surface(rt); rt_mask = context_generate_rt_mask_from_surface(rt);
} }