summaryrefslogtreecommitdiff
path: root/src/rhlibrary
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-01-13 17:32:42 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-01-13 17:32:42 (GMT)
commitecfe71e1a703e7c3a2b1f35bf3639f0f6a155bc5 (patch)
treec932ed1f43ac187cb04a3d47af45e1f3677fac7b /src/rhlibrary
parenta0816652bf083e2934f2fca748338391ac3de757 (diff)
upgraded to new player interface
Diffstat (limited to 'src/rhlibrary')
-rw-r--r--src/rhlibrary/main.go4
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 {