mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
parent
e5e7ceb688
commit
d09fd90963
@ -59,6 +59,7 @@ const (
|
||||
const (
|
||||
AutoIconify = Hint(0x00020006)
|
||||
ClientAPI = Hint(0x00022001)
|
||||
ContextCreationAPI = Hint(0x0002200B)
|
||||
ContextVersionMajor = Hint(0x00022002)
|
||||
ContextVersionMinor = Hint(0x00022003)
|
||||
Decorated = Hint(0x00020005)
|
||||
@ -82,6 +83,7 @@ const (
|
||||
CursorDisabled = 0x00034003
|
||||
CursorHidden = 0x00034002
|
||||
CursorNormal = 0x00034001
|
||||
EGLContextAPI = 0x00036002
|
||||
NoAPI = 0
|
||||
OpenGLAPI = 0x00030001
|
||||
OpenGLESAPI = 0x00030002
|
||||
|
@ -24,4 +24,5 @@ func setGLFWClientAPI() {
|
||||
glfw.WindowHint(glfw.ClientAPI, glfw.OpenGLESAPI)
|
||||
glfw.WindowHint(glfw.ContextVersionMajor, 2)
|
||||
glfw.WindowHint(glfw.ContextVersionMinor, 0)
|
||||
glfw.WindowHint(glfw.ContextCreationAPI, glfw.EGLContextAPI)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user