1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-20 19:54:19 +01:00

[d3d9] Allow querying ID3D9VkInteropTexture from surfaces

This commit is contained in:
Jeff 2024-08-07 20:53:05 -07:00 committed by Joshie
parent 7c9e1ed7cd
commit e38693cdbc

View File

@ -74,6 +74,11 @@ namespace dxvk {
return S_OK;
}
if (riid == __uuidof(ID3D9VkInteropTexture)) {
*ppvObject = ref(m_texture->GetVkInterop());
return S_OK;
}
if (logQueryInterfaceError(__uuidof(IDirect3DSurface9), riid)) {
Logger::warn("D3D9Surface::QueryInterface: Unknown interface query");
Logger::warn(str::format(riid));