diff options
Diffstat (limited to 'src/particles')
-rw-r--r-- | src/particles/qquickimageparticle.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/particles/qquickimageparticle.cpp b/src/particles/qquickimageparticle.cpp index fa828d7b63..036dfb901e 100644 --- a/src/particles/qquickimageparticle.cpp +++ b/src/particles/qquickimageparticle.cpp @@ -1385,6 +1385,12 @@ void QQuickImageParticle::finishBuildParticleNodes() } #endif +#ifdef Q_OS_LINUX + // Nouveau drivers can potentially freeze a machine entirely when taking the point-sprite path. + if (perfLevel < Deformable && strstr((char *) glGetString(GL_VENDOR), "nouveau")) + perfLevel = Deformable; +#endif + if (perfLevel >= Colored && !m_color.isValid()) m_color = QColor(Qt::white);//Hidden default, but different from unset |