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:
parent
338cb2e5dd
commit
7ca6839c94
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue