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