summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {