Module: wine Branch: master Commit: 7ca6839c943229cce653586da3c14d7e11fd4d0a URL: http://source.winehq.org/git/wine.git/?a=commit;h=7ca6839c943229cce653586da3...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Mon May 27 09:22:48 2013 +0200
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 075fa6547c0edf2b1b2c1cabae7731fdc1308cc2.
---
dlls/wined3d/context.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c index 5b3fd62..e6f2c1a 100644 --- a/dlls/wined3d/context.c +++ b/dlls/wined3d/context.c @@ -2149,6 +2149,7 @@ void context_apply_blit_state(struct wined3d_context *context, const struct wine } else { + context->current_fbo = NULL; context_bind_fbo(context, GL_FRAMEBUFFER, NULL); rt_mask = context_generate_rt_mask_from_surface(rt); }