Detect Driver "Software Rasterizer"

Fixes a major regression which allowed OpenGL
compositing to be used with software rasterizer, which
either did not work or crashed directly.

Cherry-picked from cf2f572 in branch KDE/4.7.
This commit is contained in:
Martin Gräßlin 2011-08-03 20:00:11 +02:00
parent df75644817
commit 9f78276dc7

View file

@ -675,6 +675,10 @@ void GLPlatform::detect()
m_driverVersion = 0;
}
else if (m_renderer == "Software Rasterizer") {
m_driver = Driver_Swrast;
}
// Driver/GPU specific features
// ====================================================