gl::info

Function supported_version

source
pub fn supported_version() -> (u32, u32)
Expand description

Gets the supported version of OpenGL as defined by the GL_MAJOR_VERSION and GL_MINOR_VERSION values returned from the current context.

The first returned value is the major version and the second is the minor.