Commit 44653e42 authored by Jan Möbius's avatar Jan Möbius

Merge branch 'featureCoreProfile' into 'master'

use acg for extension checks to avoid problems with different opengl versions

See merge request !1
parents 054a4dd5 fa0e4ac5
......@@ -65,13 +65,13 @@ void MemInfoPlugin::initializePlugin()
void MemInfoPlugin::pluginsInitialized() {
// Check extension for NVIDIA memory information
QString glExtensions = QString((const char*)glGetString(GL_EXTENSIONS));
// QString glExtensions = QString((const char*)glGetString(GL_EXTENSIONS));
updateTimer_ = new QTimer();
updateTimer_->setSingleShot(false);
// NVIDIA cards
if ( glExtensions.contains("GL_NVX_gpu_memory_info") ) {
if ( ACG::checkExtensionSupported("GL_NVX_gpu_memory_info") ) {
// emit log(LOGINFO,"NVIDIA card Memory info supported, installing gpu memory monitor into status bar");
......
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