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

[dxgi] Store top-level DxgiFactory in DxgiSwapChain

Can do this now that we tossed the old stuff that depended on the swapchain factory being resident in D3D11.
This commit is contained in:
Joshua Ashton 2023-01-16 02:38:09 +00:00 committed by Philip Rebohle
parent 9010f11adf
commit bb75e214d6
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@
namespace dxvk {
DxgiSwapChain::DxgiSwapChain(
IDXGIFactory* pFactory,
DxgiFactory* pFactory,
IDXGIVkSwapChain* pPresenter,
HWND hWnd,
const DXGI_SWAP_CHAIN_DESC1* pDesc,

View File

@ -27,7 +27,7 @@ namespace dxvk {
public:
DxgiSwapChain(
IDXGIFactory* pFactory,
DxgiFactory* pFactory,
IDXGIVkSwapChain* pPresenter,
HWND hWnd,
const DXGI_SWAP_CHAIN_DESC1* pDesc,
@ -175,7 +175,7 @@ namespace dxvk {
dxvk::recursive_mutex m_lockWindow;
dxvk::mutex m_lockBuffer;
Com<IDXGIFactory> m_factory;
Com<DxgiFactory> m_factory;
Com<IDXGIAdapter> m_adapter;
Com<IDXGIOutput1> m_target;
Com<IDXGIVkMonitorInfo> m_monitorInfo;