D3D: Add exclusive fullscreen support.

This commit is contained in:
Jules Blok
2014-06-18 15:04:23 +02:00
parent d72375fdfa
commit 77bc879384
5 changed files with 14 additions and 2 deletions

View File

@ -431,6 +431,9 @@ void Reset()
// release all back buffer references
SAFE_RELEASE(backbuf);
// apply fullscreen state
D3D::swapchain->SetFullscreenState(g_ActiveConfig.bFullscreen, nullptr);
// resize swapchain buffers
RECT client;
GetClientRect(hWnd, &client);