From d6828f4039352a44a1389313ba856369932732e4 Mon Sep 17 00:00:00 2001 From: xengineering Date: Tue, 25 May 2021 11:07:46 +0200 Subject: Split Graphics and App Functionality --- main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'main.go') 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() { -- cgit v1.2.3-70-g09d2