Variable Platform.GLVersionMajor

OpenGL context major version.

class Platform
{
  // ...
  int GLVersionMajor = 3;
  // ...
}

Note

if the version is invalid or not supported, this value will be set to supported one.