Add Intel's 3000 driver to exceptions for df/dy calculations. Should fix

another case of SSAO effect reversal.
This commit is contained in:
Antonis Ryakiotakis 2015-05-08 19:25:51 +02:00
parent 2e6634e4a8
commit b65c77e664
1 changed files with 2 additions and 1 deletions

View File

@ -264,7 +264,8 @@ void gpu_extensions_init(void)
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, "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;
}