aboutsummaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-03-18 21:54:12 +0100
committerdec05eba <dec05eba@protonmail.com>2025-03-18 21:54:12 +0100
commitd2ab24121dcf66e261ae6b205290df7e8dbfa4e6 (patch)
treef7a200ba9418f17d144e178d2d55ea659dfe2d5e /src/utils.c
parente7a95f830abc358fcdf6d24fcf11e346e0b77e99 (diff)
Test broadcom (raspberry pi) support
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils.c b/src/utils.c
index f053eed..325f750 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -396,6 +396,8 @@ bool gl_get_gpu_info(gsr_egl *egl, gsr_gpu_info *info) {
info->vendor = GSR_GPU_VENDOR_INTEL;
else if(strstr((const char*)gl_vendor, "NVIDIA"))
info->vendor = GSR_GPU_VENDOR_NVIDIA;
+ else if(strstr((const char*)gl_vendor, "Broadcom"))
+ info->vendor = GSR_GPU_VENDOR_BROADCOM;
else {
fprintf(stderr, "gsr error: unknown gpu vendor: %s\n", gl_vendor);
supported = false;