//GetVersion retrieves the major, minor and revision numbers of the GLFW //library. It is intended for when you are using GLFW as a shared library and //want to ensure that you are using the minimum required version. // //This function may be called before Init. func GetVersion() (major, minor, revision int) { var ( maj C.int min C.int rev C.int ) C.glfwGetVersion(&maj, &min, &rev) return int(maj), int(min), int(rev) }