mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
internal/graphicsdriver/opengl: update GLES version to 3.0
GLES 3.0 is required for GLSL ES 3.0 Updates #1431
This commit is contained in:
parent
7509c1d7f5
commit
95709d9182
@ -23,7 +23,7 @@ import (
|
||||
func (g *Graphics) SetGLFWClientAPI() {
|
||||
if g.context.ctx.IsES() {
|
||||
glfw.WindowHint(glfw.ClientAPI, glfw.OpenGLESAPI)
|
||||
glfw.WindowHint(glfw.ContextVersionMajor, 2)
|
||||
glfw.WindowHint(glfw.ContextVersionMajor, 3)
|
||||
glfw.WindowHint(glfw.ContextVersionMinor, 0)
|
||||
glfw.WindowHint(glfw.ContextCreationAPI, glfw.EGLContextAPI)
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user