Commit 7ca6839c authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

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 075fa654.
parent 338cb2e5
...@@ -2149,6 +2149,7 @@ void context_apply_blit_state(struct wined3d_context *context, const struct wine ...@@ -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);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment