From 7d76eea4ea0aeeba84f0e9501f16d043965ecab5 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Wed, 23 Feb 2022 18:30:02 -0800 Subject: [PATCH] OGLRender: Log video backend info, in addition to showing it via OSD This is mainly intended for debugging fifo.ci. --- Source/Core/VideoBackends/OGL/OGLRender.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/VideoBackends/OGL/OGLRender.cpp b/Source/Core/VideoBackends/OGL/OGLRender.cpp index 123b11b2d6..fae0d7a0ad 100644 --- a/Source/Core/VideoBackends/OGL/OGLRender.cpp +++ b/Source/Core/VideoBackends/OGL/OGLRender.cpp @@ -751,6 +751,8 @@ Renderer::Renderer(std::unique_ptr main_gl_context, float backbuffer_ OSD::AddMessage("This device's performance may be poor.", 60000); } + INFO_LOG_FMT(VIDEO, "Video Info: {}, {}, {}", g_ogl_config.gl_vendor, g_ogl_config.gl_renderer, + g_ogl_config.gl_version); WARN_LOG_FMT(VIDEO, "Missing OGL Extensions: {}{}{}{}{}{}{}{}{}{}{}{}{}{}", g_ActiveConfig.backend_info.bSupportsDualSourceBlend ? "" : "DualSourceBlend ", g_ActiveConfig.backend_info.bSupportsPrimitiveRestart ? "" : "PrimitiveRestart ",