Skip to content

Commit 3a580be

Browse files
committed
Compatibility with GL 3.2
1 parent eb02542 commit 3a580be

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

video/video.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ func (video *Video) Reconfigure(fullscreen bool) {
7171

7272
// Configure instanciates the video package
7373
func (video *Video) Configure(fullscreen bool) {
74-
glfw.WindowHint(glfw.ContextVersionMajor, 4)
75-
glfw.WindowHint(glfw.ContextVersionMinor, 1)
74+
glfw.WindowHint(glfw.ContextVersionMajor, 3)
75+
glfw.WindowHint(glfw.ContextVersionMinor, 2)
7676
glfw.WindowHint(glfw.OpenGLProfile, glfw.OpenGLCoreProfile)
7777
glfw.WindowHint(glfw.OpenGLForwardCompatible, glfw.True)
7878

0 commit comments

Comments
 (0)