From 90e59121dc7194825e8e33271477fc74d0cb2839 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Sat, 4 Feb 2012 11:21:32 +0100 Subject: [PATCH] Properly detect SandyBridge chipsets in GLPlattorm --- libkwineffects/kwinglplatform.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libkwineffects/kwinglplatform.cpp b/libkwineffects/kwinglplatform.cpp index 3ac2bb68a0..c0e530aa50 100644 --- a/libkwineffects/kwinglplatform.cpp +++ b/libkwineffects/kwinglplatform.cpp @@ -366,10 +366,14 @@ static ChipClass detectIntelClass(const QByteArray &chipset) chipset.contains("Q45/Q43") || chipset.contains("G41") || chipset.contains("B43") || - chipset.contains("Ironlake") || - chipset.contains("Sandybridge")) // GL 3.1, CL 1.1, DX 10.1 + chipset.contains("Ironlake")) return I965; + // GL 3.1, CL 1.1, DX 10.1 + if (chipset.contains("Sandybridge")) { + return SandyBridge; + } + return UnknownIntel; }