Use discard syntax

This commit is contained in:
teinarss
2020-08-16 11:12:07 +02:00
committed by Paul Chote
parent 27f1a7ab27
commit 8d27d22100
12 changed files with 17 additions and 17 deletions

View File

@@ -174,7 +174,7 @@ namespace OpenRA.Platforms.Default
// This is not necessary on macOS, which defines window sizes in effective units ("points").
if (Platform.CurrentPlatform == PlatformType.Windows)
{
if (SDL.SDL_GetDisplayDPI(videoDisplay, out var ddpi, out var hdpi, out var vdpi) == 0)
if (SDL.SDL_GetDisplayDPI(videoDisplay, out var ddpi, out _, out _) == 0)
windowScale = ddpi / 96;
}
else if (Platform.CurrentPlatform != PlatformType.OSX)