Skip to content

Commit

Permalink
[d3d8] Fix bridge initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
AlpyneDreams committed Jul 3, 2023
1 parent cb3d288 commit 03dc731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/d3d8/d3d8_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace dxvk
d3d9::Direct3DCreate9Ex(D3D_SDK_VERSION, &m_d3d9ex);

// Get the bridge interface to D3D9.
if (FAILED(GetD3D9()->QueryInterface(__uuidof(IDxvkD3D8InterfaceBridge), (void**)&m_bridge))) {
if (FAILED(m_d3d9ex->QueryInterface(__uuidof(IDxvkD3D8InterfaceBridge), (void**)&m_bridge))) {
throw DxvkError("D3D8DeviceEx: ERROR! Failed to get D3D9 Bridge. d3d9.dll might not be DXVK!");
}

Expand Down

0 comments on commit 03dc731

Please sign in to comment.