mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-04 07:24:15 +01:00
[d3d11] Fix various D3D10 interface queries
This commit is contained in:
parent
6fce094942
commit
915244c00c
@ -37,7 +37,7 @@ namespace dxvk {
|
||||
|
||||
if (riid == __uuidof(ID3D10DeviceChild)
|
||||
|| riid == __uuidof(ID3D10DepthStencilState)) {
|
||||
*ppvObject = ref(this);
|
||||
*ppvObject = ref(&m_d3d10);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user