aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-07-21 23:58:54 +0200
committerdec05eba <dec05eba@protonmail.com>2024-07-21 23:58:54 +0200
commit42bfe1315be1a851434c4675a0c2c38863bb8e6c (patch)
tree38066a8f06b9d36ba6899df8f61b16b879b68fdd /src/main.cpp
parente0643ed5a82ed79fd874568dc726c2e7059afe48 (diff)
Fix gpu vendor check, rename desktop file to same format as flatpak
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index a86f254..90c642e 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2456,7 +2456,7 @@ static void parse_gpu_info_line(GsrInfo *gsr_info, const std::string &line) {
const StringView attribute_name = {line.c_str(), space_index};
const StringView attribute_value = {line.c_str() + space_index + 1, line.size() - (space_index + 1)};
- if(attribute_name == "gpu") {
+ if(attribute_name == "vendor") {
if(attribute_value == "amd")
gsr_info->gpu_info.vendor = GpuVendor::AMD;
else if(attribute_value == "intel")