summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index 6444871..1bf0b9d 100644
--- a/main.go
+++ b/main.go
@@ -33,6 +33,7 @@ func main() {
// initialize graphics
var graphics Graphics = newGraphics()
+ app.graphics = &graphics // connect graphics to the app
// main loop
for !app.window.ShouldClose() {