1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-03-21 13:29:26 +01:00

[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

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);