mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-19 05:52:11 +01:00
[dxgi] DxgiSwapchain: Take factory as IDXGIFactory
No need to be specific about the exact type of factory.
This commit is contained in:
parent
9572425912
commit
7eb60daf63
@ -5,7 +5,7 @@
|
||||
namespace dxvk {
|
||||
|
||||
DxgiSwapChain::DxgiSwapChain(
|
||||
DxgiFactory* pFactory,
|
||||
IDXGIFactory* pFactory,
|
||||
IUnknown* pDevice,
|
||||
HWND hWnd,
|
||||
const DXGI_SWAP_CHAIN_DESC1* pDesc,
|
||||
|
@ -21,7 +21,7 @@ namespace dxvk {
|
||||
public:
|
||||
|
||||
DxgiSwapChain(
|
||||
DxgiFactory* pFactory,
|
||||
IDXGIFactory* pFactory,
|
||||
IUnknown* pDevice,
|
||||
HWND hWnd,
|
||||
const DXGI_SWAP_CHAIN_DESC1* pDesc,
|
||||
@ -171,7 +171,7 @@ namespace dxvk {
|
||||
std::mutex m_lockWindow;
|
||||
std::mutex m_lockBuffer;
|
||||
|
||||
Com<DxgiFactory> m_factory;
|
||||
Com<IDXGIFactory> m_factory;
|
||||
Com<DxgiAdapter> m_adapter;
|
||||
|
||||
HWND m_window;
|
||||
|
Loading…
x
Reference in New Issue
Block a user