mirror of
https://gitlab.winehq.org/wine/wine.git
synced 2024-11-19 17:06:04 -07:00
Merge branch 'mr/wined3d-blit' into 'master'
Draft: wined3d: Don't reject blits coming from older CS thread. See merge request wine/wine!6300
This commit is contained in:
commit
33bf348c0b
1 changed files with 3 additions and 2 deletions
|
@ -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 (src_texture->resource.device->cs->thread_id > dst_texture->resource.device->cs->thread_id
|
||||
|| src_texture->resource.device->cs > dst_texture->resource.device->cs)
|
||||
{
|
||||
FIXME("Rejecting cross-device blit.\n");
|
||||
FIXME("Rejecting blit from newer command stream.\n");
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue