Commit: 16749070ae754cccd2531485ebf74bcc493d5e70
Author: Clément Foucault
Date:   Wed Dec 5 16:02:52 2018 +0100
Branches: blender2.8
https://developer.blender.org/rB16749070ae754cccd2531485ebf74bcc493d5e70

GPU: Fix gpu workaround 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 29ca8017035..1d4cb671a6d 100644
--- a/source/blender/gpu/intern/gpu_extensions.c
+++ b/source/blender/gpu/intern/gpu_extensions.c
@@ -271,8 +271,8 @@ void gpu_extensions_init(void)
                GG.driver = GPU_DRIVER_OFFICIAL;
 
 #ifdef _WIN32
-               if (strstr(vendor, "Radeon HD 7500M") ||
-                   strstr(vendor, "Radeon HD 7570M"))
+               if (strstr(renderer, "Radeon HD 7500M") ||
+                   strstr(renderer, "Radeon HD 7570M"))
                {
                        GG.unused_fb_slot_workaround = true;
                }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to