mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
D3D: Make the swapchain available outside of the namespace.
This commit reverts a part of pull request #579.
This commit is contained in:
@@ -31,7 +31,7 @@ namespace D3D
|
||||
|
||||
ID3D11Device* device = nullptr;
|
||||
ID3D11DeviceContext* context = nullptr;
|
||||
static IDXGISwapChain* swapchain = nullptr;
|
||||
IDXGISwapChain* swapchain = nullptr;
|
||||
D3D_FEATURE_LEVEL featlevel;
|
||||
D3DTexture2D* backbuf = nullptr;
|
||||
HWND hWnd;
|
||||
|
||||
@@ -40,6 +40,7 @@ void Close();
|
||||
|
||||
extern ID3D11Device* device;
|
||||
extern ID3D11DeviceContext* context;
|
||||
extern IDXGISwapChain* swapchain;
|
||||
extern HWND hWnd;
|
||||
extern bool bFrameInProgress;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user