diff --git a/internal/ui/ui_glfw.go b/internal/ui/ui_glfw.go index 7b16aa89f..d7dfd5ed7 100644 --- a/internal/ui/ui_glfw.go +++ b/internal/ui/ui_glfw.go @@ -142,7 +142,7 @@ func ScreenScale() float64 { return s } -func Run(width, height int, scale float64, title string, g GraphicsContext, glContext opengl.Context) error { +func Run(width, height int, scale float64, title string, g GraphicsContext) error { u := currentUI // GLContext must be created before setting the screen size, which requires // swapping buffers.