From: Aida JonikienÄ— aidas957@gmail.com
This is a partial revert of commit db6f95880c2631b64e48adc547d365e878ae45a6.
GTA 2 is missing non-text textures after exiting from the game to the menu screen when cross-device blits are completely rejected. --- dlls/wined3d/texture.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/wined3d/texture.c b/dlls/wined3d/texture.c index 2efdaf91438..6c82b1b3601 100644 --- a/dlls/wined3d/texture.c +++ b/dlls/wined3d/texture.c @@ -3902,9 +3902,10 @@ HRESULT CDECL wined3d_device_context_blt(struct wined3d_device_context *context, return WINED3DERR_INVALIDCALL; }
- if (dst_texture->resource.device != src_texture->resource.device) + if (dst_texture->resource.device != src_texture->resource.device + && !(src_texture->resource.access & WINED3D_RESOURCE_ACCESS_CPU)) { - FIXME("Rejecting cross-device blit.\n"); + FIXME("Rejecting cross-device blit from non-CPU source.\n"); return E_NOTIMPL; }