summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorewy <ewy0@protonmail.com>2026-08-13 15:13:39 +0200
committerewy <ewy0@protonmail.com>2026-08-13 15:13:39 +0200
commit60f58e548ef745ec072482954ac37c35d88280d4 (patch)
treeb1d89c0c1e47a427334e7fe708367b1263aaef40 /main.go
parentd0fe29558b040a11c5c8a744c37fbd2e3826f6c4 (diff)
switch to single render loop
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 9fdc1f9..1372daf 100644
--- a/main.go
+++ b/main.go
@@ -30,7 +30,7 @@ func main() {
os.Exit(1)
}()
- game := objs.NewRoot(objs.NewCursor())
+ game := objs.NewRoot(window, objs.NewCursor())
err = sdl.RunLoop(loop.New(game, window, renderer))
if err != nil {
panic(err)