Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #10474 from Pokechu22/log-ogl-video-info
OGLRender: Log video backend info, in addition to showing it via OSD
  • Loading branch information
leoetlino committed Mar 2, 2022
2 parents bcc14d3 + 7d76eea commit c7361bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Core/VideoBackends/OGL/OGLRender.cpp
Expand Up @@ -751,6 +751,8 @@ Renderer::Renderer(std::unique_ptr<GLContext> 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 ",
Expand Down

0 comments on commit c7361bc

Please sign in to comment.