Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backends: OpenGL3: Add compatibility of GL_VERSION for GL 2.x
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 See ocornut/imgui#3530
- Loading branch information