Properly detect SandyBridge chipsets in GLPlattorm

This commit is contained in:
Martin Gräßlin 2012-02-04 11:21:32 +01:00
parent 993f4ba583
commit 90e59121dc

View file

@ -366,10 +366,14 @@ static ChipClass detectIntelClass(const QByteArray &chipset)
chipset.contains("Q45/Q43") || chipset.contains("Q45/Q43") ||
chipset.contains("G41") || chipset.contains("G41") ||
chipset.contains("B43") || chipset.contains("B43") ||
chipset.contains("Ironlake") || chipset.contains("Ironlake"))
chipset.contains("Sandybridge")) // GL 3.1, CL 1.1, DX 10.1
return I965; return I965;
// GL 3.1, CL 1.1, DX 10.1
if (chipset.contains("Sandybridge")) {
return SandyBridge;
}
return UnknownIntel; return UnknownIntel;
} }