diff --git a/lib/kwineffects.cpp b/lib/kwineffects.cpp index 30749a2bfa..d6152d2e93 100644 --- a/lib/kwineffects.cpp +++ b/lib/kwineffects.cpp @@ -500,6 +500,8 @@ bool EffectsHandler::checkDriverBlacklist( const KConfigGroup& blacklist ) { QString vendor = QString((const char*)glGetString( GL_VENDOR )); QString renderer = QString((const char*)glGetString( GL_RENDERER )); + renderer.append( ":-:" ); + renderer.append((const char*)glGetString( GL_VERSION )); foreach( const QString& key, blacklist.keyList() ) { // the key is a word in the renderer string or vendor referrencing the vendor in case of mesa diff --git a/lib/kwineffects.h b/lib/kwineffects.h index 1787131fa2..ab60d7b602 100644 --- a/lib/kwineffects.h +++ b/lib/kwineffects.h @@ -793,7 +793,8 @@ class KWIN_EXPORT EffectsHandler /** * Checks if the driver is on given blacklist. * The format of the blacklist is driver identifier as key (e.g. Intel) with a list of - * concrete driver render strings as the values. + * concrete driver render strings as the values. The renderer string consists of GL_RENDERER + * and GL_VERSION separated by colon dash colon. E.g.: GeForce 9400M/PCI/SSE2:-:3.2.0 NVIDIA 195.36.24 * This method is only used for OpenGL compositing. If not using OpenGL it will return false. * @returns true if the driver is blacklisted, false otherwise * @since 4.5