re-enable screensaver, which SDL disables by default

This commit is contained in:
Peter D. Gray 2023-05-09 13:57:55 -04:00
parent 70aa6de8b9
commit 25403b017c
No known key found for this signature in database
GPG Key ID: F0E6CC6AFC16CF7B

View File

@ -301,6 +301,7 @@ def start():
- N to capture NFC data (tap it)
''')
sdl2.ext.init()
sdl2.SDL_EnableScreenSaver()
factory = sdl2.ext.SpriteFactory(sdl2.ext.SOFTWARE)
bg = factory.from_image("background.png")