diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-10-17 01:53:14 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-10-17 01:53:14 +0300 |
commit | 7d71007cfb714152240ed0197dc380e138a7985b (patch) | |
tree | e8b9ec3dc39a14b65d4815e42630645861210bb2 | |
parent | 3b6d7b5152896165c9fc27097446895301306afd (diff) |
GPU Extension: Fix AMD Vega + open source driver detection.
-rw-r--r-- | source/blender/gpu/intern/gpu_extensions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c index 1159603f721..231f1d8f7b1 100644 --- a/source/blender/gpu/intern/gpu_extensions.c +++ b/source/blender/gpu/intern/gpu_extensions.c @@ -180,7 +180,7 @@ void gpu_extensions_init(void) } /* XXX : TODO : Remove this once this sampling mipmap problem is gone. * https://github.com/dfelinto/opengl-sandbox/blob/downsample/README.md */ - else if (strstr(renderer, "AMD VEGA") || + else if (strstr(renderer, "AMD VEGA") && strstr(vendor, "X.Org")) { GG.device = GPU_DEVICE_AMD_VEGA; GG.driver = GPU_DRIVER_OPENSOURCE; |