1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-04 16:24:29 +01:00

[d3d11] Fix various D3D10 interface queries

This commit is contained in:
Philip Rebohle 2023-08-23 01:05:22 +02:00
parent 6fce094942
commit 915244c00c
4 changed files with 4 additions and 4 deletions

View File

@ -37,7 +37,7 @@ namespace dxvk {
if (riid == __uuidof(ID3D10DeviceChild)
|| riid == __uuidof(ID3D10DepthStencilState)) {
*ppvObject = ref(this);
*ppvObject = ref(&m_d3d10);
return S_OK;
}

View File

@ -126,7 +126,7 @@ namespace dxvk {
if (riid == __uuidof(ID3D10DeviceChild)
|| riid == __uuidof(ID3D10View)
|| riid == __uuidof(ID3D10DepthStencilView)) {
*ppvObject = ref(this);
*ppvObject = ref(&m_d3d10);
return S_OK;
}

View File

@ -137,7 +137,7 @@ namespace dxvk {
if (riid == __uuidof(ID3D10DeviceChild)
|| riid == __uuidof(ID3D10View)
|| riid == __uuidof(ID3D10RenderTargetView)) {
*ppvObject = ref(this);
*ppvObject = ref(&m_d3d10);
return S_OK;
}

View File

@ -205,7 +205,7 @@ namespace dxvk {
|| riid == __uuidof(ID3D10View)
|| riid == __uuidof(ID3D10ShaderResourceView)
|| riid == __uuidof(ID3D10ShaderResourceView1)) {
*ppvObject = ref(this);
*ppvObject = ref(&m_d3d10);
return S_OK;
}