mirror of
https://github.com/bloeys/nmage.git
synced 2025-12-29 13:28:20 +00:00
Only initialize video and timer subsystems of sdl
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user