Disable the "Disable screen saver" option

This commit is contained in:
Tillsunset 2023-03-24 14:47:15 -05:00 committed by Exzap
parent 02ec40b7ba
commit aa63a6a36e
2 changed files with 7 additions and 0 deletions

View file

@ -6,6 +6,9 @@ class ScreenSaver
public:
static void SetInhibit(bool inhibit)
{
#ifdef BOOST_OS_MACOS
return;
#endif
// Initialize video subsystem if necessary
if (SDL_WasInit(SDL_INIT_VIDEO) == 0)
{