mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
uidriver/glfw: Update comments
This commit is contained in:
parent
e3def4ae50
commit
b09fe7157b
@ -691,8 +691,9 @@ func (u *UserInterface) run(context driver.UIContext) error {
|
||||
u.setWindowSize(ww, wh, u.isFullscreen(), u.vsync)
|
||||
}
|
||||
|
||||
// Set the window size and the window position in this order on Linux (X) (#1118),
|
||||
// but this is inverted on Windows. This is very tricky, but there is no obvious way to solve this.
|
||||
// Set the window size and the window position in this order on Linux or other UNIX using X (#1118),
|
||||
// but this should be inverted on Windows. This is very tricky, but there is no obvious way to solve this.
|
||||
// This doesn't matter on macOS.
|
||||
if runtime.GOOS == "windows" {
|
||||
setPosition()
|
||||
setSize()
|
||||
|
Loading…
Reference in New Issue
Block a user