Skip to content

Commit

Permalink
2.1 is not a valid GLES version
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Nov 24, 2023
1 parent ed283a7 commit c1a271e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/driver/glfw/glfw_es.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ import "github.com/go-gl/glfw/v3.3/glfw"
func initWindowHints() {
glfw.WindowHint(glfw.ClientAPI, glfw.OpenGLESAPI)
glfw.WindowHint(glfw.ContextVersionMajor, 2)
glfw.WindowHint(glfw.ContextVersionMinor, 1)
glfw.WindowHint(glfw.ContextVersionMinor, 0)
}

0 comments on commit c1a271e

Please sign in to comment.