[d3d9] Remove leftover GetWindowRect

This is already done for us.
This commit is contained in:
Joshua Ashton 2022-08-21 18:32:45 +00:00
parent 1c679edbfb
commit 5f9df1f6e3
1 changed files with 0 additions and 3 deletions

View File

@ -1019,9 +1019,6 @@ namespace dxvk {
HRESULT D3D9SwapChainEx::EnterFullscreenMode(
D3DPRESENT_PARAMETERS* pPresentParams,
const D3DDISPLAYMODEEX* pFullscreenDisplayMode) {
// Find a display mode that matches what we need
::GetWindowRect(m_window, &m_windowState.rect);
if (FAILED(ChangeDisplayMode(pPresentParams, pFullscreenDisplayMode))) {
Logger::err("D3D9: EnterFullscreenMode: Failed to change display mode");
return D3DERR_INVALIDCALL;