mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-29 04:06:24 +01:00
[dxgi] Remove unused DEVMODE variable
This commit is contained in:
parent
e51c196ee9
commit
fad6f764ea
@ -122,9 +122,6 @@ namespace dxvk {
|
|||||||
if ((pModeToMatch->Width == 0) ^ (pModeToMatch->Height == 0))
|
if ((pModeToMatch->Width == 0) ^ (pModeToMatch->Height == 0))
|
||||||
return DXGI_ERROR_INVALID_CALL;
|
return DXGI_ERROR_INVALID_CALL;
|
||||||
|
|
||||||
DEVMODEW devMode;
|
|
||||||
devMode.dmSize = sizeof(devMode);
|
|
||||||
|
|
||||||
wsi::WsiMode activeWsiMode = { };
|
wsi::WsiMode activeWsiMode = { };
|
||||||
wsi::getCurrentDisplayMode(m_monitor, &activeWsiMode);
|
wsi::getCurrentDisplayMode(m_monitor, &activeWsiMode);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user