mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d: Return DXGI_ERROR_NOT_FOUND from GetProtectedResourceSession().
This commit is contained in:
parent
e38f3995fd
commit
4668271872
Notes:
Alexandre Julliard
2024-02-15 23:58:28 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/627
@ -1725,7 +1725,7 @@ static HRESULT STDMETHODCALLTYPE d3d12_resource_GetProtectedResourceSession(ID3D
|
||||
{
|
||||
FIXME("iface %p, iid %s, session %p stub!\n", iface, debugstr_guid(iid), session);
|
||||
|
||||
return E_NOTIMPL;
|
||||
return DXGI_ERROR_NOT_FOUND;
|
||||
}
|
||||
|
||||
static const struct ID3D12Resource1Vtbl d3d12_resource_vtbl =
|
||||
|
@ -1893,7 +1893,6 @@ static void test_create_committed_resource(void)
|
||||
|
||||
hr = ID3D12Resource1_GetProtectedResourceSession(resource1, &IID_ID3D12ProtectedResourceSession,
|
||||
(void **)&protected_session);
|
||||
todo
|
||||
ok(hr == DXGI_ERROR_NOT_FOUND, "Got unexpected hr %#x.\n", hr);
|
||||
|
||||
ID3D12Resource1_Release(resource1);
|
||||
@ -2241,7 +2240,6 @@ static void test_create_placed_resource(void)
|
||||
{
|
||||
hr = ID3D12Resource1_GetProtectedResourceSession(resource1, &IID_ID3D12ProtectedResourceSession,
|
||||
(void **)&protected_session);
|
||||
todo
|
||||
ok(hr == DXGI_ERROR_NOT_FOUND, "Got unexpected hr %#x.\n", hr);
|
||||
ID3D12Resource1_Release(resource1);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user