Yet another attempt to fix Intel case for T43987

This commit is contained in:
Antony Riakiotakis
2015-05-16 23:08:40 +02:00
parent dcacc54e07
commit 6c15f3044b

View File

@@ -263,11 +263,20 @@ void gpu_extensions_init(void)
GG.dfdyfactors[0] = 1.0;
GG.dfdyfactors[1] = -1.0;
}
else if (GG.device == GPU_DEVICE_INTEL && GG.os == GPU_OS_WIN &&
(strstr(version, "4.0.0 - Build 9.18.10.3165") ||
strstr(version, "3.1.0 - Build 9.17.10.4101"))) {
GG.dfdyfactors[0] = -1.0;
GG.dfdyfactors[1] = 1.0;
else if (GG.device == GPU_DEVICE_INTEL && GG.os == GPU_OS_WIN) {
if (strstr(version, "4.0.0 - Build 9.18.10.3165"))
{
GG.dfdyfactors[0] = -1.0;
GG.dfdyfactors[1] = 1.0;
}
else if (strstr(version, "3.1.0 - Build 9.17.10.4101")) {
GG.dfdyfactors[0] = -1.0;
GG.dfdyfactors[1] = -1.0;
}
else {
GG.dfdyfactors[0] = 1.0;
GG.dfdyfactors[1] = 1.0;
}
}
else {
GG.dfdyfactors[0] = 1.0;