D3DBase: Create the swapchain in fullscreen mode if enabled.

This commit is contained in:
Jules Blok
2016-11-09 01:41:38 +01:00
parent 0028ee96b3
commit 9909babe2c
5 changed files with 13 additions and 18 deletions

View File

@ -871,12 +871,11 @@ HRESULT SetFullscreenState(bool enable_fullscreen)
return S_OK;
}
HRESULT GetFullscreenState(bool* fullscreen_state)
bool GetFullscreenState()
{
// Fullscreen exclusive intentionally not supported in DX12 backend. No performance
// difference between it and windowed full-screen due to usage of a FLIP swap chain.
*fullscreen_state = false;
return S_OK;
return false;
}
} // namespace D3D