diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-12-05 18:02:52 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-12-05 18:57:44 +0300 |
commit | 16749070ae754cccd2531485ebf74bcc493d5e70 (patch) | |
tree | 87ade5f4bf07d0ab319c8e582127fc52730cd26b /source/blender/gpu/intern | |
parent | 309d4bfbbc4114d314aa174fee96e716bc4fe5df (diff) |
GPU: Fix gpu workaround detection
Diffstat (limited to 'source/blender/gpu/intern')
-rw-r--r-- | source/blender/gpu/intern/gpu_extensions.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |