mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-13 12:32:05 +01:00
parent
9999b65261
commit
e1c65d395c
@ -171,6 +171,7 @@ func initialize() error {
|
|||||||
glfw.WindowHint(glfw.ClientAPI, glfw.NoAPI)
|
glfw.WindowHint(glfw.ClientAPI, glfw.NoAPI)
|
||||||
|
|
||||||
// Create a window to set the initial monitor.
|
// Create a window to set the initial monitor.
|
||||||
|
// TODO: Instead of a dummy window, get a mouse cursor position and get a monitor from it (#1982).
|
||||||
w, err := glfw.CreateWindow(16, 16, "", nil, nil)
|
w, err := glfw.CreateWindow(16, 16, "", nil, nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user