sdlEnableScreenSaver function

void sdlEnableScreenSaver()

Allow the screen to be blanked by a screen saver.

\since This function is available since SDL 2.0.0.

\sa SDL_DisableScreenSaver \sa SDL_IsScreenSaverEnabled

extern DECLSPEC void SDLCALL SDL_EnableScreenSaver(void)

Implementation

void sdlEnableScreenSaver() {
  final sdlEnableScreenSaverLookupFunction =
      libSdl2.lookupFunction<Void Function(), void Function()>(
          'SDL_EnableScreenSaver');
  return sdlEnableScreenSaverLookupFunction();
}