mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48:54 +01:00
parent
59e6d4578b
commit
7f46938ff7
@ -329,6 +329,10 @@ func destroyContextWGL(window *Window) error {
|
||||
}
|
||||
|
||||
func initWGL() error {
|
||||
if isXbox() {
|
||||
return fmt.Errorf("glfwwin: WGL is not available in Xbox")
|
||||
}
|
||||
|
||||
if _glfw.wgl.inited {
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user