D3D: Make the swapchain available outside of the namespace.

This commit reverts a part of pull request #579.
This commit is contained in:
Jules Blok
2014-07-19 21:14:46 +02:00
parent 643c9ff173
commit 5f04e9c526
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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;
+1
View File
@@ -40,6 +40,7 @@ void Close();
extern ID3D11Device* device;
extern ID3D11DeviceContext* context;
extern IDXGISwapChain* swapchain;
extern HWND hWnd;
extern bool bFrameInProgress;