You can check and set in QGLFormat a version of OpenGL, but how to do the same for GLSL?
There is glGetString, but for GL_SHADING_LANGUAGE_VERSION you get undeclared identifier
Qt Code:
const GLubyte* pVersion = glGetString(GL_VERSION); //const GLubyte* pShaderVersion = glGetString(GL_SHADING_LANGUAGE_VERSION); //undeclared identifierTo copy to clipboard, switch view to plain text mode
Bookmarks