diff --git a/src/dxgi/dxgi_output.cpp b/src/dxgi/dxgi_output.cpp index 8eb75fd4b..3be952ec9 100644 --- a/src/dxgi/dxgi_output.cpp +++ b/src/dxgi/dxgi_output.cpp @@ -127,7 +127,7 @@ namespace dxvk { UINT targetHeight = pModeToMatch->Height; if (targetWidth == 0 || targetHeight == 0) { - DXGI_MODE_DESC activeMode; + DXGI_MODE_DESC activeMode = { }; GetDisplayMode(&activeMode, ENUM_CURRENT_SETTINGS); targetWidth = activeMode.Width;