diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-04-14 13:31:23 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-04-14 13:31:23 +0300 |
commit | 04daaee0fd0153783653df185286e34dd8684e6f (patch) | |
tree | 9a999a4ebf346ee6098dd5c2a394d21492817e5e /source | |
parent | ed40d5eaa79972486f743de04e11fb64f4af0049 (diff) |
Fix T44385 SSAO inverted with new Intel drivers.
Intel has decided to fix this for newer devices and drivers only, so we
can't really avoid keeping a list of buggy drivers here.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/gpu/intern/gpu_extensions.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c index e8595ecc67c..0d735d11902 100644 --- a/source/blender/gpu/intern/gpu_extensions.c +++ b/source/blender/gpu/intern/gpu_extensions.c @@ -263,7 +263,8 @@ 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) { + else if (GG.device == GPU_DEVICE_INTEL && GG.os == GPU_OS_WIN && + (strstr(version, "4.0.0 - Build 9.18.10.3165"))) { GG.dfdyfactors[0] = -1.0; GG.dfdyfactors[1] = 1.0; } |