From fad6f764ea8a22e4d9841e846808cae589f06f0b Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Sun, 21 Aug 2022 17:43:36 +0000 Subject: [PATCH] [dxgi] Remove unused DEVMODE variable --- src/dxgi/dxgi_output.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/dxgi/dxgi_output.cpp b/src/dxgi/dxgi_output.cpp index 8fb52e82c..570282cfc 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);