Only initialize video and timer subsystems of sdl

This commit is contained in:
bloeys
2023-02-03 01:14:57 +04:00
parent 8e9dbee002
commit 3b8e5c06de

View File

@ -112,7 +112,7 @@ func Init() error {
func initSDL() error {
err := sdl.Init(sdl.INIT_EVERYTHING)
err := sdl.Init(sdl.INIT_TIMER | sdl.INIT_VIDEO)
if err != nil {
return err
}