diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-12-05 06:22:32 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-12-05 06:22:32 +0300 |
commit | a7712e8594337af4ed378894679cec592e348ba4 (patch) | |
tree | db8354d2cff1c27b4f6108bea4a204a81bbfdd8f /source/blender/gpu/intern | |
parent | 4d4f0dbd8d7a8f04d116a38ecb6708a6beaa1702 (diff) |
GPU: Improve detection of intels UHD graphics
Diffstat (limited to 'source/blender/gpu/intern')
-rw-r--r-- | source/blender/gpu/intern/gpu_extensions.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c index 8d2fbb4fd73..29ca8017035 100644 --- a/source/blender/gpu/intern/gpu_extensions.c +++ b/source/blender/gpu/intern/gpu_extensions.c @@ -299,7 +299,9 @@ void gpu_extensions_init(void) GG.device = GPU_DEVICE_INTEL; GG.driver = GPU_DRIVER_OFFICIAL; - if (strstr(renderer, "UHD Graphics")) { + if (strstr(renderer, "UHD Graphics") || + strstr(renderer, "Kaby Lake GT2")) + { GG.device |= GPU_DEVICE_INTEL_UHD; } } |