summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Gräßlin <mgraesslin@kde.org>2011-08-03 18:00:11 (GMT)
committerMartin Gräßlin <mgraesslin@kde.org>2011-08-03 18:00:11 (GMT)
commitcf2f572ae1c5e6fc0df731a24675da95ce868a1c (patch)
treea516e3bb0ce29c1e6821b13a26e955646bed723d
parent378f27d0eab38426a6f78c5d123c25a81877150d (diff)
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.
-rw-r--r--kwin/libkwineffects/kwinglplatform.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/kwin/libkwineffects/kwinglplatform.cpp b/kwin/libkwineffects/kwinglplatform.cpp
index ce1f3f6..237c143 100644
--- a/kwin/libkwineffects/kwinglplatform.cpp
+++ b/kwin/libkwineffects/kwinglplatform.cpp
@@ -675,6 +675,10 @@ void GLPlatform::detect()
m_driverVersion = 0;
}
+ else if (m_renderer == "Software Rasterizer") {
+ m_driver = Driver_Swrast;
+ }
+
// Driver/GPU specific features
// ====================================================