mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 20:18:59 +01:00
parent
572780ed6d
commit
a1a294df72
@ -607,6 +607,9 @@ func (u *UserInterface) run(width, height int, scale float64, title string, cont
|
||||
}
|
||||
glfw.WindowHint(glfw.Resizable, resizable)
|
||||
|
||||
// Set the window visible explicitly or the application freezes on Wayland (#974).
|
||||
glfw.WindowHint(glfw.Visible, glfw.True)
|
||||
|
||||
// As a start, create a window with temporary size to create OpenGL context thread.
|
||||
window, err := glfw.CreateWindow(16, 16, "", nil, nil)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user