internal/uidriver/glfw: add a comment

Updates #1982
This commit is contained in:
Hajime Hoshi 2022-02-03 01:41:07 +09:00
parent 9999b65261
commit e1c65d395c

View File

@ -171,6 +171,7 @@ func initialize() error {
glfw.WindowHint(glfw.ClientAPI, glfw.NoAPI)
// Create a window to set the initial monitor.
// TODO: Instead of a dummy window, get a mouse cursor position and get a monitor from it (#1982).
w, err := glfw.CreateWindow(16, 16, "", nil, nil)
if err != nil {
return err