From 08cdb12c5a26dfc7df5a4be594b5c1e933f23496 Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@collabora.com>
Date: Thu, 25 Jun 2020 15:59:54 +0100
Subject: [PATCH] system-info: Don't confuse graphics issues with library
 issues

Previously, when we check for and find graphics issues, we'd set bits
in the library issues bitfield instead. Only users of the C API will
notice this, because this information doesn't end up in the JSON.

Signed-off-by: Simon McVittie <smcv@collabora.com>
---
 steam-runtime-tools/system-info.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/steam-runtime-tools/system-info.c b/steam-runtime-tools/system-info.c
index 328ff7a4e..3cb0a97ac 100644
--- a/steam-runtime-tools/system-info.c
+++ b/steam-runtime-tools/system-info.c
@@ -1804,42 +1804,42 @@ GList * srt_system_info_check_all_graphics (SrtSystemInfo *self,
   // Try each rendering interface
   // Try each window system
 
-  abi->cached_combined_issues |=
+  abi->cached_combined_graphics_issues |=
     srt_system_info_check_graphics (self,
                                     multiarch_tuple,
                                     SRT_WINDOW_SYSTEM_GLX,
                                     SRT_RENDERING_INTERFACE_GL,
                                     NULL);
 
-  abi->cached_combined_issues |=
+  abi->cached_combined_graphics_issues |=
     srt_system_info_check_graphics (self,
                                     multiarch_tuple,
                                     SRT_WINDOW_SYSTEM_EGL_X11,
                                     SRT_RENDERING_INTERFACE_GL,
                                     NULL);
 
-  abi->cached_combined_issues |=
+  abi->cached_combined_graphics_issues |=
     srt_system_info_check_graphics (self,
                                     multiarch_tuple,
                                     SRT_WINDOW_SYSTEM_EGL_X11,
                                     SRT_RENDERING_INTERFACE_GLESV2,
                                     NULL);
 
-  abi->cached_combined_issues |=
+  abi->cached_combined_graphics_issues |=
     srt_system_info_check_graphics (self,
                                     multiarch_tuple,
                                     SRT_WINDOW_SYSTEM_X11,
                                     SRT_RENDERING_INTERFACE_VULKAN,
                                     NULL);
 
-  abi->cached_combined_issues |=
+  abi->cached_combined_graphics_issues |=
     srt_system_info_check_graphics (self,
                                     multiarch_tuple,
                                     SRT_WINDOW_SYSTEM_X11,
                                     SRT_RENDERING_INTERFACE_VDPAU,
                                     NULL);
 
-  abi->cached_combined_issues |=
+  abi->cached_combined_graphics_issues |=
     srt_system_info_check_graphics (self,
                                     multiarch_tuple,
                                     SRT_WINDOW_SYSTEM_X11,
-- 
GitLab