[PATCH 2/2] wined3d: Activate context for the right target in surface_blt_to_drawable.
Vitaliy Margolen
wine-devel at kievinfo.com
Sun May 11 19:26:52 CDT 2008
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.
More information about the wine-devel
mailing list