From 84b512a3ac16c3d5cbe0657ad47d1d9cb6b31aa7 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sat, 3 Sep 2016 02:12:11 +0900 Subject: [PATCH] ui: Bug fix: Remove unneeded argument --- internal/ui/ui_glfw.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.