mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-01 16:24:12 +01:00
[d3d11] Fixed interface queries
This commit is contained in:
parent
08f4fb82f9
commit
b0517b16f0
@ -16,6 +16,9 @@ namespace dxvk {
|
||||
|
||||
|
||||
HRESULT D3D11Buffer::QueryInterface(REFIID riid, void** ppvObject) {
|
||||
COM_QUERY_IFACE(riid, ppvObject, IUnknown);
|
||||
COM_QUERY_IFACE(riid, ppvObject, ID3D11DeviceChild);
|
||||
COM_QUERY_IFACE(riid, ppvObject, ID3D11Resource);
|
||||
COM_QUERY_IFACE(riid, ppvObject, ID3D11Buffer);
|
||||
|
||||
Logger::warn("D3D11Buffer::QueryInterface: Unknown interface query");
|
||||
|
@ -20,6 +20,8 @@ namespace dxvk {
|
||||
HRESULT D3D11DeviceContext::QueryInterface(
|
||||
REFIID riid,
|
||||
void** ppvObject) {
|
||||
COM_QUERY_IFACE(riid, ppvObject, IUnknown);
|
||||
COM_QUERY_IFACE(riid, ppvObject, ID3D11DeviceChild);
|
||||
COM_QUERY_IFACE(riid, ppvObject, ID3D11DeviceContext);
|
||||
|
||||
Logger::warn("D3D11DeviceContext::QueryInterface: Unknown interface query");
|
||||
|
@ -28,6 +28,7 @@ namespace dxvk {
|
||||
|
||||
|
||||
HRESULT D3D11Device::QueryInterface(REFIID riid, void** ppvObject) {
|
||||
COM_QUERY_IFACE(riid, ppvObject, IUnknown);
|
||||
COM_QUERY_IFACE(riid, ppvObject, ID3D11Device);
|
||||
|
||||
if (riid == __uuidof(IDXVKDevice)
|
||||
|
Loading…
Reference in New Issue
Block a user