mirror of
https://github.com/love2d/love.git
synced 2026-08-19 12:14:20 +02:00
remove some redundant code.
SDL3's default behaviour matches what love does with the hint, so the code isn't needed.
This commit is contained in:
@@ -771,12 +771,6 @@ void Window::updateSettings(const WindowSettings &newsettings, bool updateGraphi
|
||||
|
||||
settings.usedpiscale = newsettings.usedpiscale;
|
||||
|
||||
// Only minimize on focus loss if the window is in exclusive-fullscreen mode
|
||||
if (settings.fullscreen && settings.fstype == FULLSCREEN_EXCLUSIVE)
|
||||
SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "1");
|
||||
else
|
||||
SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "0");
|
||||
|
||||
settings.vsync = getVSync();
|
||||
|
||||
settings.stencil = newsettings.stencil;
|
||||
|
||||
Reference in New Issue
Block a user