1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 20:43:04 +01:00

Rename _sdlfsFlags to _sdlFullscreenFlags

This commit is contained in:
Tulio Leao
2022-03-18 00:35:10 -03:00
parent f835a5b521
commit 397bc51e68

View File

@@ -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<int32_t>(mode)];
uint32_t windowFlags = _sdlFullscreenFlags[static_cast<int32_t>(mode)];
// HACK Changing window size when in fullscreen usually has no effect
if (mode == FULLSCREEN_MODE::FULLSCREEN)