mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-27 04:08:53 +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)
|
u.setWindowSize(ww, wh, u.isFullscreen(), u.vsync)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set the window size and the window position in this order on Linux (X) (#1118),
|
// Set the window size and the window position in this order on Linux or other UNIX using X (#1118),
|
||||||
// but this is inverted on Windows. This is very tricky, but there is no obvious way to solve this.
|
// 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" {
|
if runtime.GOOS == "windows" {
|
||||||
setPosition()
|
setPosition()
|
||||||
setSize()
|
setSize()
|
||||||
|
Loading…
Reference in New Issue
Block a user