[dxgi] Remove unused DEVMODE variable

This commit is contained in:
Joshua Ashton 2022-08-21 17:43:36 +00:00 committed by Philip Rebohle
parent e51c196ee9
commit fad6f764ea
1 changed files with 0 additions and 3 deletions

View File

@ -122,9 +122,6 @@ namespace dxvk {
if ((pModeToMatch->Width == 0) ^ (pModeToMatch->Height == 0))
return DXGI_ERROR_INVALID_CALL;
DEVMODEW devMode;
devMode.dmSize = sizeof(devMode);
wsi::WsiMode activeWsiMode = { };
wsi::getCurrentDisplayMode(m_monitor, &activeWsiMode);