Alexander Dorofeyev wrote:
Fixes http://bugs.winehq.org/show_bug.cgi?id=12890 that affects several games locking front buffer when using readtex RT lock mode.
- ActivateContext(device, device->render_targets[0], CTXUSAGE_BLIT);
- ActivateContext(device, (IWineD3DSurface*)This, CTXUSAGE_BLIT);
I think Stefan said something about this not being correct. The blitting is going into the render target not the current surface. In your case if the surface is not the render target, then it's not being properly selected.
Vitaliy.