Tuesday, January 3, 2012

The current OpenGL version in Qt

The OpenGL version can queried from QGLFormat in a QGLWidget . The function QGLFormat::majorVersion and QGLFormat::minorVersion returns the current OpenGL version the platform is using.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.