diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-01-13 17:32:42 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-01-13 17:32:42 (GMT) |
commit | ecfe71e1a703e7c3a2b1f35bf3639f0f6a155bc5 (patch) | |
tree | c932ed1f43ac187cb04a3d47af45e1f3677fac7b | |
parent | a0816652bf083e2934f2fca748338391ac3de757 (diff) |
upgraded to new player interface
-rw-r--r-- | src/rhlibrary/main.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rhlibrary/main.go b/src/rhlibrary/main.go index c6ab425..45c443f 100644 --- a/src/rhlibrary/main.go +++ b/src/rhlibrary/main.go @@ -89,7 +89,9 @@ func main() { rhl.Println("Error initializing Player:", err) return } - p.Play(1, 1) + pi := p.GetInterface() + pi.Load(1, 1) + pi.Play() mw, err := NewMainWindow(640, 360) if err != nil { |