The OpenGL version of the current context, as major and minor.
major, minor := gl_get_version();
if major < 3 print("OpenGL 3 is required\n");This one is only checked to compile, not run.
gl_get_version :: () -> (major: s32, minor: s32)
Returns
- major: s32
- minor: s32