diff options
author | kcgen <kcgen@users.noreply.github.com> | 2022-10-15 21:43:32 +0300 |
---|---|---|
committer | kcgen <kcgen@users.noreply.github.com> | 2022-10-15 21:43:32 +0300 |
commit | d4b157b63c6de29bf54425c97b431eab72e45e42 (patch) | |
tree | 5555e4b13cf20398ef763fdcebdc61402291e93e /src | |
parent | 63afab0bd67bf79798c0c953d90fdd5dbb0ebf16 (diff) |
Use a reference when passing target size to the screen logger
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/sdlmain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/sdlmain.cpp b/src/gui/sdlmain.cpp index 76a05841c..97a9a51d1 100644 --- a/src/gui/sdlmain.cpp +++ b/src/gui/sdlmain.cpp @@ -664,7 +664,7 @@ static SDL_Rect calc_viewport_pp(int win_width, int win_height); // and pixel-aspect ratios. Note that this function deliberately doesn't use // any global structs to disentangle it from the existing sdl-main design. static void log_display_properties(int source_w, int source_h, - const std::optional<SDL_Rect> target_size_override, + const std::optional<SDL_Rect> &target_size_override, const SCALING_MODE scaling_mode, const SCREEN_TYPES screen_type, const PPScale &pp_scale) |