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:
authorClément Foucault <foucault.clem@gmail.com>2018-10-30 13:02:49 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-10-30 13:02:59 +0300
commit76a047893cecdc987965011b1f63373b14922969 (patch)
tree13b51a2b830e4f4229146e7ec177f5989a9deecb /source/blender/gpu/intern/gpu_extensions.c
parentf907eb4268ccea96869fc36c8aa1045507c066e8 (diff)
GPU: Fix faulty mac gpu detection
Diffstat (limited to 'source/blender/gpu/intern/gpu_extensions.c')
-rw-r--r--source/blender/gpu/intern/gpu_extensions.c2
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 b5ca8e9a30c..3175a155c16 100644
--- a/source/blender/gpu/intern/gpu_extensions.c
+++ b/source/blender/gpu/intern/gpu_extensions.c
@@ -255,7 +255,7 @@ void gpu_extensions_init(void)
GG.driver = GPU_DRIVER_OFFICIAL;
#if defined(__APPLE__)
- if (strstr(vendor, "AMD Radeon Pro")) {
+ if (strstr(renderer, "AMD Radeon Pro")) {
GG.depth_blitting_workaround = true;
}
#endif