We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8033a41 commit 50d6d10Copy full SHA for 50d6d10
src/main/kotlin/uno/glfw/glfw.kt
@@ -38,7 +38,9 @@ object glfw {
38
init(installDefaultErrorCallback)
39
windowHint {
40
context.version = version
41
- windowHint.profile = profile
+ val v = version[0].i * 10 + version[1].i
42
+ if(v >= 32) // The concept of a core profile does not exist prior to OpenGL 3.2
43
+ windowHint.profile = profile
44
}
45
46
0 commit comments