internal/ui: remove unnecessary code

This was an old code when Ebitengine created a dummy invisible
window before creating the main window.
This commit is contained in:
Hajime Hoshi 2023-09-24 01:42:37 +09:00
parent 69e3a2b974
commit 01e2c92e56

View File

@ -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()