mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 20:52:10 +01:00
[d3d9] Remove leftover GetWindowRect
This is already done for us.
This commit is contained in:
parent
1c679edbfb
commit
5f9df1f6e3
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user