GLFWWindow

constructor(title: String, width: Int, height: Int, gl2: Boolean = false, resizeable: Boolean = true, decorated: Boolean = true)

Parameters

gl2

if true, the window will be registered with OpenGL 2.1C+, else, it will use OpenGL 3.2C+.