yuzu-cmd: hide cursor when in fullscreen

Exposed the SDL_ShowCursor function to EmuWindow baseclass. When creating the window (GL or VK) in fullscreen it now automatically hides the cursor.
This commit is contained in:
san 2021-08-01 21:46:13 +02:00
parent 4304984555
commit e1d8000de7
4 changed files with 9 additions and 0 deletions

View file

@ -111,6 +111,7 @@ EmuWindow_SDL2_GL::EmuWindow_SDL2_GL(InputCommon::InputSubsystem* input_subsyste
if (fullscreen) {
Fullscreen();
ShowCursor(false);
}
window_context = SDL_GL_CreateContext(render_window);