prevent screensaver (#1485)
This commit is contained in:
parent
88c1371a96
commit
5488e0bf3d
|
@ -3286,6 +3286,9 @@ int main(int argc, char** argv)
|
|||
|
||||
SDL_JoystickEventState(SDL_ENABLE);
|
||||
|
||||
SDL_InitSubSystem(SDL_INIT_VIDEO);
|
||||
SDL_EnableScreenSaver(); SDL_DisableScreenSaver();
|
||||
|
||||
Config::Load();
|
||||
|
||||
#define SANITIZE(var, min, max) { var = std::clamp(var, min, max); }
|
||||
|
|
Loading…
Reference in New Issue