GL_MAJOR_VERSION and GL_MINOR_VERSION are available on GL 3.0 and above.
So we have to parse GL_VERSION under GL 2.x
Reference https://www.khronos.org/opengl/wiki/OpenGL_Context#Context_information_queries
Regressed since 459de65477
See https://github.com/ocornut/imgui/pull/3530
features/potocpav-newer-lines-2
parent
fa0852f9e5
commit
b0c1816664
2 changed files with 10 additions and 3 deletions
Loading…
Reference in New Issue