mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48:54 +01:00
uidriver/glfw: Add comments
This commit is contained in:
parent
8480f888dd
commit
14200eb42c
@ -1018,7 +1018,7 @@ func (u *UserInterface) setWindowSize(width, height int, fullscreen bool, vsync
|
||||
// currentMonitor must be called on the main thread.
|
||||
func (u *UserInterface) currentMonitor() *glfw.Monitor {
|
||||
if w := u.window; w != nil {
|
||||
// TODO: When is the monitor nil?
|
||||
// GetMonitor is available only on fullscreen.
|
||||
if m := w.GetMonitor(); m != nil {
|
||||
return m
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user