http://bugs.winehq.org/show_bug.cgi?id=22478
--- Comment #27 from Henri Verbeet hverbeet@gmail.com 2010-05-05 11:31:14 --- (In reply to comment #24)
context_apply_fbo_state(context);
if(context->render_offscreen && context->current_rt != device->render_targets[0])
context_attach_surface_fbo(context, GL_FRAMEBUFFER, 0, context->current_rt);
In the cases where it matters that change would corrupt the FBO cache, and still give you the performance hit of FBO setup.