Retrieves the OpenGL version of the context.
The context must be realized prior to calling this function.
return location for the major version
return location for the minor version
3.16
Retrieves the OpenGL version of the context.
The context must be realized prior to calling this function.