mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-31 05:52:11 +01:00
[dxgi] Fixed nonsense compiler warning with some GCC versions
This commit is contained in:
parent
f7691d4db7
commit
a728884742
@ -127,7 +127,7 @@ namespace dxvk {
|
|||||||
UINT targetHeight = pModeToMatch->Height;
|
UINT targetHeight = pModeToMatch->Height;
|
||||||
|
|
||||||
if (targetWidth == 0 || targetHeight == 0) {
|
if (targetWidth == 0 || targetHeight == 0) {
|
||||||
DXGI_MODE_DESC activeMode;
|
DXGI_MODE_DESC activeMode = { };
|
||||||
GetDisplayMode(&activeMode, ENUM_CURRENT_SETTINGS);
|
GetDisplayMode(&activeMode, ENUM_CURRENT_SETTINGS);
|
||||||
|
|
||||||
targetWidth = activeMode.Width;
|
targetWidth = activeMode.Width;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user