mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-05 06:22:45 +01:00
Fix telemetry-related exit crash from use-after-free
Co-Authored-By: xperia64 <xperia64@users.noreply.github.com>
This commit is contained in:
parent
fad38ec6e8
commit
37d672bf08
1 changed files with 3 additions and 3 deletions
|
@ -275,9 +275,9 @@ void RendererOpenGL::AddTelemetryFields() {
|
||||||
LOG_INFO(Render_OpenGL, "GL_RENDERER: {}", gpu_model);
|
LOG_INFO(Render_OpenGL, "GL_RENDERER: {}", gpu_model);
|
||||||
|
|
||||||
constexpr auto user_system = Common::Telemetry::FieldType::UserSystem;
|
constexpr auto user_system = Common::Telemetry::FieldType::UserSystem;
|
||||||
telemetry_session.AddField(user_system, "GPU_Vendor", gpu_vendor);
|
telemetry_session.AddField(user_system, "GPU_Vendor", std::string(gpu_vendor));
|
||||||
telemetry_session.AddField(user_system, "GPU_Model", gpu_model);
|
telemetry_session.AddField(user_system, "GPU_Model", std::string(gpu_model));
|
||||||
telemetry_session.AddField(user_system, "GPU_OpenGL_Version", gl_version);
|
telemetry_session.AddField(user_system, "GPU_OpenGL_Version", std::string(gl_version));
|
||||||
}
|
}
|
||||||
|
|
||||||
void RendererOpenGL::CreateRasterizer() {
|
void RendererOpenGL::CreateRasterizer() {
|
||||||
|
|
Loading…
Reference in a new issue