Enable flip presentation mode and tearing in D3D11

This commit is contained in:
GoaLitiuM
2022-03-17 21:05:42 +02:00
committed by Ari Vuollet
parent b780e33a5b
commit e794911755
5 changed files with 36 additions and 1 deletions

View File

@@ -23,6 +23,7 @@ private:
#if PLATFORM_WINDOWS
HWND _windowHandle;
IDXGISwapChain* _swapChain;
bool _allowTearing, _isFullscreen;
#else
IUnknown* _windowHandle;
IDXGISwapChain1* _swapChain;