Commit 82e83b9d authored by Jan Möbius's avatar Jan Möbius
Browse files

Glew and glu version string in about

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9655 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 2eddb106
......@@ -101,7 +101,7 @@ void CoreWidget::showAboutWidget( ) {
aboutWidget_->OpenFlipperAbout->append(tr("Vendor:\t") + vendor);
QString renderer = QString((const char*)glGetString(GL_RENDERER));
aboutWidget_->OpenFlipperAbout->append(tr("Renderer:\t") + renderer);
QGLFormat::OpenGLVersionFlags flags = QGLFormat::openGLVersionFlags();
if ( flags.testFlag(QGLFormat::OpenGL_Version_3_0) )
......@@ -131,9 +131,31 @@ void CoreWidget::showAboutWidget( ) {
aboutWidget_->OpenFlipperAbout->append(tr("Supported Extensions:"));
QString glExtensions = QString((const char*)glGetString(GL_EXTENSIONS));
aboutWidget_->OpenFlipperAbout->append(glExtensions);
// =====================================================================================
// glu Information
// =====================================================================================
aboutWidget_->OpenFlipperAbout->append("\n");
QString gluVersion = QString((const char *)gluGetString(GLU_VERSION));
aboutWidget_->OpenFlipperAbout->append(tr("GLU Version:\t") + gluVersion);
aboutWidget_->OpenFlipperAbout->append(tr("Supported GLU Extensions:"));
QString gluExtensions = QString((const char*)gluGetString(GLU_EXTENSIONS));
aboutWidget_->OpenFlipperAbout->append(gluExtensions);
aboutWidget_->OpenFlipperAbout->moveCursor(QTextCursor::Start);
// =====================================================================================
// glew Information
// =====================================================================================
aboutWidget_->OpenFlipperAbout->append("\n");
QString glewVersion = QString((const char *)glewGetString(GLEW_VERSION));
aboutWidget_->OpenFlipperAbout->append(tr("GLEW Version:\t") + glewVersion);
// =====================================================================================
// Qt information
// =====================================================================================
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment