summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2021-05-25 11:07:46 +0200
committerxengineering <mail2xengineering@protonmail.com>2021-05-25 11:07:46 +0200
commitd6828f4039352a44a1389313ba856369932732e4 (patch)
tree63e8db9146555479cfc8f233f72a49d6fec92ab4 /main.go
parentaad26e524922d144fd4ed023dc0d60fadb62f253 (diff)
downloadstlscope-d6828f4039352a44a1389313ba856369932732e4.tar
stlscope-d6828f4039352a44a1389313ba856369932732e4.tar.zst
stlscope-d6828f4039352a44a1389313ba856369932732e4.zip
Split Graphics and App Functionality
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() {