Permalink
Browse files

Only need to init video on SDL

  • Loading branch information...
1 parent 35b163a commit 00c223257ec9920d05cb4706da56b084b16270d5 @scottferg committed Oct 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 video.go
View
@@ -15,7 +15,7 @@ type Video struct {
}
func (v *Video) Init(t <-chan []int, d <-chan []int, n string) {
- if sdl.Init(sdl.INIT_EVERYTHING) != 0 {
+ if sdl.Init(sdl.INIT_VIDEO) != 0 {
log.Fatal(sdl.GetError())
}

0 comments on commit 00c2232

Please sign in to comment.