aboutsummaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-10-23 21:26:05 +0200
committerdec05eba <dec05eba@protonmail.com>2024-10-23 21:26:05 +0200
commit293ec193ba117efabf78b77dee682d709359d41f (patch)
treecee67c4c0ee905ca3ad60d6bbf0450a50498c784 /src/utils.c
parent422f214283ba50649acca4d9b5a9778d313fe05b (diff)
Support old amd gpus that need radeon driver
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c
index 6fe5904..14b629a 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -398,7 +398,7 @@ bool gl_get_gpu_info(gsr_egl *egl, gsr_gpu_info *info) {
}
}
- if(strstr((const char*)gl_vendor, "AMD"))
+ if(strstr((const char*)gl_vendor, "AMD") || strstr((const char*)gl_vendor, "Mesa"))
info->vendor = GSR_GPU_VENDOR_AMD;
else if(strstr((const char*)gl_vendor, "Intel"))
info->vendor = GSR_GPU_VENDOR_INTEL;