diff options
author | Joshua Ashton <joshua@froggi.es> | 2022-08-21 20:43:36 +0300 |
---|---|---|
committer | Joshua Ashton <joshua@froggi.es> | 2022-08-21 22:23:17 +0300 |
commit | 27e1337551c2702d654089ad88cbc796c7a434ff (patch) | |
tree | 5e7809f543700f21c19d6137ce58ef607a370ac3 | |
parent | 25857b35e2581b341ba9a974adc57bfd599583f4 (diff) |
[dxgi] Remove unused DEVMODE variablenative-pr-dxgi-remove-leftovers
-rw-r--r-- | src/dxgi/dxgi_output.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/dxgi/dxgi_output.cpp b/src/dxgi/dxgi_output.cpp index 8fb52e82..570282cf 100644 --- a/src/dxgi/dxgi_output.cpp +++ b/src/dxgi/dxgi_output.cpp @@ -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); |