http://bugs.winehq.org/show_bug.cgi?id=11584
--- Comment #29 from Stefan Dösinger stefandoesinger@gmx.at 2008-04-09 18:22:38 --- Which PreLoad is making the problem here in FindContext()? The one in the readTexture block preloading "This->lastActiveRenderTarget", or the one above PreLoad "target"? If it is the former one, can you try to change the if statement above that in the following way:
if (wined3d_settings.offscreen_rendering_mode != ORM_FBO) {
===>
if (wined3d_settings.offscreen_rendering_mode != ORM_FBO && target != This->lastActiveRenderTarget) {