http://bugs.winehq.org/show_bug.cgi?id=11584
--- Comment #70 from Stefan Dösinger stefandoesinger@gmx.at 2008-06-07 06:00:03 ---
You mean if (target != This->lastActiveRenderTarget) ? That won't work since lastActiveRenderTarget is changed in ActivateContext - after the find context.
It will avoid the PreLoad call if the game switches threads during offscreen rendering, which I think is the problem here. Can you give it a try to see how it works out?