Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/doitsujin/dxvk.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ashton <joshua@froggi.es>2022-08-21 20:43:36 +0300
committerJoshua Ashton <joshua@froggi.es>2022-08-21 22:23:17 +0300
commit27e1337551c2702d654089ad88cbc796c7a434ff (patch)
tree5e7809f543700f21c19d6137ce58ef607a370ac3
parent25857b35e2581b341ba9a974adc57bfd599583f4 (diff)
[dxgi] Remove unused DEVMODE variablenative-pr-dxgi-remove-leftovers
-rw-r--r--src/dxgi/dxgi_output.cpp3
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);