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-12-05 18:02:52 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-12-05 18:57:44 +0300
commit16749070ae754cccd2531485ebf74bcc493d5e70 (patch)
tree87ade5f4bf07d0ab319c8e582127fc52730cd26b /source/blender/gpu/intern/gpu_extensions.c
parent309d4bfbbc4114d314aa174fee96e716bc4fe5df (diff)
GPU: Fix gpu workaround detection
Diffstat (limited to 'source/blender/gpu/intern/gpu_extensions.c')
-rw-r--r--source/blender/gpu/intern/gpu_extensions.c4
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;
}