mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[d3d9] Remove leftover GetWindowRect
This is already done for us.
This commit is contained in:
parent
1c679edbfb
commit
5f9df1f6e3
1 changed files with 0 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue