From a728884742278731bc3e7898e0b25bee7d915e48 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Sat, 14 Jul 2018 11:09:02 +0200 Subject: [PATCH] [dxgi] Fixed nonsense compiler warning with some GCC versions --- src/dxgi/dxgi_output.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;