From 508a22bda9d31f7b103b43665b3050742d12198d Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 3 May 2021 19:43:33 -0700 Subject: [PATCH] Add ATI, Intel(R) to GPU maker list --- html/user/gpu_list.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/html/user/gpu_list.php b/html/user/gpu_list.php index 2532a83a7d..2eed68fe11 100644 --- a/html/user/gpu_list.php +++ b/html/user/gpu_list.php @@ -26,10 +26,11 @@ require_once("../inc/util.inc"); -// strip leading AMD or NVIDIA +// strip leading AMD, NVIDIA, etc. +// This avoids showing the same model twice // function strip_vendor($model) { - foreach (array("AMD ", "NVIDIA ") as $maker) { + foreach (array("AMD ", "NVIDIA ", "ATI ", "Intel(R) ") as $maker) { $n = strlen($maker); if (substr($model, 0, $n) == $maker) { return substr($model, $n);