mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[dxgi] Fixed nonsense compiler warning with some GCC versions
This commit is contained in:
parent
f7691d4db7
commit
a728884742
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue