Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2015-05-17 00:08:40 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-05-17 00:09:11 +0300
commit6c15f3044be138d025b2ae5d6be56103a65b4fa0 (patch)
treeef89aa15036bf4077ad3b04412e930a75b645283 /source/blender/gpu
parentdcacc54e071fcd213f4d0704f6e99041637b8765 (diff)
Yet another attempt to fix Intel case for T43987
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_extensions.c19
1 files changed, 14 insertions, 5 deletions
diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c
index c0178567466..976a65aff7c 100644
--- a/source/blender/gpu/intern/gpu_extensions.c
+++ b/source/blender/gpu/intern/gpu_extensions.c
@@ -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;