mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-09-13 09:16:14 -07:00
libs/vkd3d: Return E_INVALIDARG in d3d12_resource_Map() for textures.
This commit is contained in:
parent
af091ecc73
commit
6b681a4037
@ -462,8 +462,9 @@ static HRESULT STDMETHODCALLTYPE d3d12_resource_Map(ID3D12Resource *iface, UINT
|
||||
|
||||
if (resource->desc.Dimension != D3D12_RESOURCE_DIMENSION_BUFFER)
|
||||
{
|
||||
/* Textures seem to be mappable only on UMA adapters. */
|
||||
FIXME("Not implemented for textures.\n");
|
||||
return E_NOTIMPL;
|
||||
return E_INVALIDARG;
|
||||
}
|
||||
|
||||
if (!resource->vk_memory)
|
||||
|
Loading…
Reference in New Issue
Block a user