summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-08-18 20:21:50 +0200
committerLioncash <mathew1800@gmail.com>2020-08-18 21:08:32 +0200
commitf6bb905182b31a4ee4ccffe7d56b8743cf0ca3b4 (patch)
tree6ba40b5d404c76f1f8be55f0e592afab83ab6563 /src/video_core
parentMerge pull request #4381 from Morph1984/fix-open-folder-installed-title (diff)
downloadyuzu-f6bb905182b31a4ee4ccffe7d56b8743cf0ca3b4.tar
yuzu-f6bb905182b31a4ee4ccffe7d56b8743cf0ca3b4.tar.gz
yuzu-f6bb905182b31a4ee4ccffe7d56b8743cf0ca3b4.tar.bz2
yuzu-f6bb905182b31a4ee4ccffe7d56b8743cf0ca3b4.tar.lz
yuzu-f6bb905182b31a4ee4ccffe7d56b8743cf0ca3b4.tar.xz
yuzu-f6bb905182b31a4ee4ccffe7d56b8743cf0ca3b4.tar.zst
yuzu-f6bb905182b31a4ee4ccffe7d56b8743cf0ca3b4.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/renderer_opengl.cpp7
-rw-r--r--src/video_core/renderer_vulkan/renderer_vulkan.cpp2
2 files changed, 5 insertions, 4 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp
index 52e9e8250..14bbc3a1c 100644
--- a/src/video_core/renderer_opengl/renderer_opengl.cpp
+++ b/src/video_core/renderer_opengl/renderer_opengl.cpp
@@ -509,9 +509,10 @@ void RendererOpenGL::AddTelemetryFields() {
LOG_INFO(Render_OpenGL, "GL_RENDERER: {}", gpu_model);
auto& telemetry_session = system.TelemetrySession();
- telemetry_session.AddField(Telemetry::FieldType::UserSystem, "GPU_Vendor", gpu_vendor);
- telemetry_session.AddField(Telemetry::FieldType::UserSystem, "GPU_Model", gpu_model);
- telemetry_session.AddField(Telemetry::FieldType::UserSystem, "GPU_OpenGL_Version", gl_version);
+ constexpr auto user_system = Common::Telemetry::FieldType::UserSystem;
+ telemetry_session.AddField(user_system, "GPU_Vendor", gpu_vendor);
+ telemetry_session.AddField(user_system, "GPU_Model", gpu_model);
+ telemetry_session.AddField(user_system, "GPU_OpenGL_Version", gl_version);
}
void RendererOpenGL::CreateRasterizer() {
diff --git a/src/video_core/renderer_vulkan/renderer_vulkan.cpp b/src/video_core/renderer_vulkan/renderer_vulkan.cpp
index 0c62c8061..6e49699d0 100644
--- a/src/video_core/renderer_vulkan/renderer_vulkan.cpp
+++ b/src/video_core/renderer_vulkan/renderer_vulkan.cpp
@@ -439,7 +439,7 @@ void RendererVulkan::Report() const {
LOG_INFO(Render_Vulkan, "Vulkan: {}", api_version);
auto& telemetry_session = system.TelemetrySession();
- constexpr auto field = Telemetry::FieldType::UserSystem;
+ constexpr auto field = Common::Telemetry::FieldType::UserSystem;
telemetry_session.AddField(field, "GPU_Vendor", vendor_name);
telemetry_session.AddField(field, "GPU_Model", model_name);
telemetry_session.AddField(field, "GPU_Vulkan_Driver", driver_name);