From 01e2c92e56fb79ecd4972c1248c3f8e0d61281ff Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 24 Sep 2023 01:42:37 +0900 Subject: [PATCH] internal/ui: remove unnecessary code This was an old code when Ebitengine created a dummy invisible window before creating the main window. --- internal/ui/ui_glfw.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/internal/ui/ui_glfw.go b/internal/ui/ui_glfw.go index 7edacfe51..d8438dd3a 100644 --- a/internal/ui/ui_glfw.go +++ b/internal/ui/ui_glfw.go @@ -171,9 +171,6 @@ func initialize() error { return err } - glfw.WindowHint(glfw.Visible, glfw.False) - glfw.WindowHint(glfw.ClientAPI, glfw.NoAPI) - // Update the monitor first. The monitor state is depended on various functions like initialMonitorByOS. theMonitors.update()