diff --git a/application.go b/application.go index cb41237e..4cd83e14 100644 --- a/application.go +++ b/application.go @@ -99,8 +99,8 @@ func (a *Application) Run() error { return errors.Errorf("invalid window mode %T", a.config.windowMode) } - glfw.WindowHint(glfw.ContextVersionMajor, 4) - glfw.WindowHint(glfw.ContextVersionMinor, 1) + glfw.WindowHint(glfw.ContextVersionMajor, 3) + glfw.WindowHint(glfw.ContextVersionMinor, 3) glfw.WindowHint(glfw.OpenGLProfile, glfw.OpenGLCoreProfile) glfw.WindowHint(glfw.OpenGLForwardCompatible, glfw.True) diff --git a/texture-registry.go b/texture-registry.go index 075eec33..5c4ec8c5 100644 --- a/texture-registry.go +++ b/texture-registry.go @@ -5,7 +5,7 @@ import ( "sync" "github.com/go-flutter-desktop/go-flutter/embedder" - "github.com/go-gl/gl/v4.6-core/gl" + "github.com/go-gl/gl/v3.3-core/gl" "github.com/go-gl/glfw/v3.2/glfw" "github.com/pkg/errors" )