From 511f4fc3031162aa0730966876d9dd6555af6949 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Wed, 10 Jan 2024 14:57:08 -0800 Subject: [PATCH] gl_hud: Add freedreno detection --- src/gl/gl_hud.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gl/gl_hud.cpp b/src/gl/gl_hud.cpp index c759e2d3..83b962d6 100644 --- a/src/gl/gl_hud.cpp +++ b/src/gl/gl_hud.cpp @@ -139,6 +139,8 @@ void imgui_create(void *ctx, const gl_wsi plat) } else if (vendor.find("Intel") != std::string::npos || deviceName.find("Intel") != std::string::npos) { vendorID = 0x8086; + } else if (vendor.find("freedreno") != std::string::npos) { + vendorID = 0x5143; } else { vendorID = 0x10de; }