SDL window

Allowing to Hide Window
This commit is contained in:
Naomino 2024-07-07 23:37:21 +02:00
parent d6d836730f
commit 2bc146e1e6
2 changed files with 2 additions and 2 deletions

View file

@ -45,7 +45,7 @@ WindowSDL::WindowSDL(s32 width_, s32 height_, Input::GameController* controller_
}
SDL_SetWindowFullscreen(window, Config::isFullscreenMode());
CursorVisibility(Config::isHideCursor());
SetCursorVisibility(Config::isHideCursor());
#if defined(SDL_PLATFORM_WIN32)
window_info.type = WindowSystemType::Windows;

View file

@ -63,7 +63,7 @@ public:
private:
void onResize();
void onKeyPress(const SDL_Event* event);
void CursorVisibility(bool cursor_visibility);
void SetCursorVisibility(bool cursor_visibility);
private:
s32 width;