From 397bc51e68234083bd949b3cea18776af27ce4a1 Mon Sep 17 00:00:00 2001 From: Tulio Leao Date: Fri, 18 Mar 2022 00:35:10 -0300 Subject: [PATCH] Rename _sdlfsFlags to _sdlFullscreenFlags --- src/openrct2-ui/UiContext.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openrct2-ui/UiContext.cpp b/src/openrct2-ui/UiContext.cpp index 68adf7b701..1afcdcbaf8 100644 --- a/src/openrct2-ui/UiContext.cpp +++ b/src/openrct2-ui/UiContext.cpp @@ -172,12 +172,12 @@ public: void SetFullscreenMode(FULLSCREEN_MODE mode) override { - static constexpr const int32_t _sdlfsFlags[] = { + static constexpr const int32_t _sdlFullscreenFlags[] = { 0, SDL_WINDOW_FULLSCREEN, SDL_WINDOW_FULLSCREEN_DESKTOP, }; - uint32_t windowFlags = _sdlfsFlags[static_cast(mode)]; + uint32_t windowFlags = _sdlFullscreenFlags[static_cast(mode)]; // HACK Changing window size when in fullscreen usually has no effect if (mode == FULLSCREEN_MODE::FULLSCREEN)