1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-18 20:52:10 +01:00

[d3d11] Add missing interface queries for IDXGIObject and IDXGIDeviceSubObject

This commit is contained in:
Philip Rebohle 2019-05-01 01:50:50 +02:00
parent b92dc14c4d
commit a340b3101c
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
2 changed files with 12 additions and 4 deletions

View File

@ -134,7 +134,9 @@ namespace dxvk {
return S_OK;
}
if (riid == __uuidof(IDXGIResource)
if (riid == __uuidof(IDXGIObject)
|| riid == __uuidof(IDXGIDeviceSubObject)
|| riid == __uuidof(IDXGIResource)
|| riid == __uuidof(IDXGIResource1)) {
*ppvObject = ref(&m_resource);
return S_OK;

View File

@ -776,7 +776,9 @@ namespace dxvk {
return S_OK;
}
if (riid == __uuidof(IDXGIResource)
if (riid == __uuidof(IDXGIObject)
|| riid == __uuidof(IDXGIDeviceSubObject)
|| riid == __uuidof(IDXGIResource)
|| riid == __uuidof(IDXGIResource1)) {
*ppvObject = ref(&m_resource);
return S_OK;
@ -876,7 +878,9 @@ namespace dxvk {
return S_OK;
}
if (riid == __uuidof(IDXGIResource)
if (riid == __uuidof(IDXGIObject)
|| riid == __uuidof(IDXGIDeviceSubObject)
|| riid == __uuidof(IDXGIResource)
|| riid == __uuidof(IDXGIResource1)) {
*ppvObject = ref(&m_resource);
return S_OK;
@ -969,7 +973,9 @@ namespace dxvk {
return S_OK;
}
if (riid == __uuidof(IDXGIResource)
if (riid == __uuidof(IDXGIObject)
|| riid == __uuidof(IDXGIDeviceSubObject)
|| riid == __uuidof(IDXGIResource)
|| riid == __uuidof(IDXGIResource1)) {
*ppvObject = ref(&m_resource);
return S_OK;