mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-24 01:42:05 +01:00
uidriver/glfw: Fix comments
This commit is contained in:
parent
3e89e7e561
commit
c243bfcdd8
@ -747,8 +747,8 @@ func (u *UserInterface) run(width, height int, scale float64, title string, cont
|
|||||||
u.setScreenSize(width, height, scale, false, u.vsync)
|
u.setScreenSize(width, height, scale, false, u.vsync)
|
||||||
|
|
||||||
_ = u.t.Call(func() error {
|
_ = u.t.Call(func() error {
|
||||||
// Get the window size before showing since window.Show might change the current
|
// Get the window size before showing it. Showing the window might change the current monitor which
|
||||||
// monitor which affects deviceDependentWindowSize result.
|
// affects deviceDependentWindowSize result.
|
||||||
w, h := u.deviceDependentWindowSize()
|
w, h := u.deviceDependentWindowSize()
|
||||||
|
|
||||||
u.title = title
|
u.title = title
|
||||||
|
Loading…
Reference in New Issue
Block a user