[Bf-blender-cvs] [76a047893ce] blender2.8: GPU: Fix faulty mac gpu detection

Clément Foucault noreply at git.blender.org
Tue Oct 30 10:54:56 CET 2018


Commit: 76a047893cecdc987965011b1f63373b14922969
Author: Clément Foucault
Date:   Tue Oct 30 11:02:49 2018 +0100
Branches: blender2.8
https://developer.blender.org/rB76a047893cecdc987965011b1f63373b14922969

GPU: Fix faulty mac gpu detection

===================================================================

M	source/blender/gpu/intern/gpu_extensions.c

===================================================================

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



More information about the Bf-blender-cvs mailing list