Show correct QOpenGLWidget vs. QGLWidget in Library Info
This commit is contained in:
parent
01f8bbb827
commit
97e97422cb
1 changed files with 7 additions and 1 deletions
|
|
@ -113,7 +113,13 @@ std::string QGLView::getRendererInfo() const
|
|||
std::string glewinfo = glew_dump();
|
||||
std::string glextlist = glew_extensions_dump();
|
||||
// Don't translate as translated text in the Library Info dialog is not wanted
|
||||
return glewinfo + std::string("\nUsing QGLWidget\n\n") + glextlist;
|
||||
return glewinfo +
|
||||
#ifdef USE_QOPENGLWIDGET
|
||||
std::string("\nUsing QOpenGLWidget\n\n")
|
||||
#else
|
||||
std::string("\nUsing QGLWidget\n\n")
|
||||
#endif
|
||||
+ glextlist;
|
||||
}
|
||||
|
||||
#ifdef ENABLE_OPENCSG
|
||||
|
|
|
|||
Loading…
Reference in a new issue