diff --git a/Makefile b/Makefile index 3d44182..cdeeb57 100755 --- a/Makefile +++ b/Makefile @@ -49,12 +49,12 @@ format: go fmt ./internal/gl/opengl/ go fmt ./internal/gl/ - go fmt ./internal/windowing/web/ - go fmt ./internal/windowing/x11/ - go fmt ./internal/windowing/cocoa/ - go fmt ./internal/windowing/win32/ - go fmt ./internal/windowing/wayland/ - go fmt ./internal/windowing/ + go fmt ./internal/window/web/ + go fmt ./internal/window/x11/ + go fmt ./internal/window/cocoa/ + go fmt ./internal/window/win32/ + go fmt ./internal/window/wayland/ + go fmt ./internal/window/ go fmt ./examples/images/ go fmt ./examples/shapes/ diff --git a/pkg/window.go b/pkg/window.go index 2d05cd1..ef5f733 100755 --- a/pkg/window.go +++ b/pkg/window.go @@ -69,7 +69,6 @@ func NewWindow(title string, width, height int, resizable bool) *Window { gl.Enable(gl.TEXTURE_2D, gl.BLEND) gl.EnableBlend() - return &Window{ Window: window, Title: title,