Support old amd gpus that need radeon driver

This commit is contained in:
dec05eba
2024-10-23 21:26:05 +02:00
parent 422f214283
commit 293ec193ba

View File

@@ -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;