mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-19 05:52:11 +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(
|
HRESULT D3D9SwapChainEx::EnterFullscreenMode(
|
||||||
D3DPRESENT_PARAMETERS* pPresentParams,
|
D3DPRESENT_PARAMETERS* pPresentParams,
|
||||||
const D3DDISPLAYMODEEX* pFullscreenDisplayMode) {
|
const D3DDISPLAYMODEEX* pFullscreenDisplayMode) {
|
||||||
// Find a display mode that matches what we need
|
|
||||||
::GetWindowRect(m_window, &m_windowState.rect);
|
|
||||||
|
|
||||||
if (FAILED(ChangeDisplayMode(pPresentParams, pFullscreenDisplayMode))) {
|
if (FAILED(ChangeDisplayMode(pPresentParams, pFullscreenDisplayMode))) {
|
||||||
Logger::err("D3D9: EnterFullscreenMode: Failed to change display mode");
|
Logger::err("D3D9: EnterFullscreenMode: Failed to change display mode");
|
||||||
return D3DERR_INVALIDCALL;
|
return D3DERR_INVALIDCALL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user