Platform.GLVersionMajor

OpenGL context major version. Note: if the version is invalid or not supported, this value will be set to supported one.

class Platform
static if(ENABLE_OPENGL)
int GLVersionMajor;

Meta