Reverted some recent renderer log output changes.

This commit is contained in:
Leon Styhre 2023-02-16 22:44:47 +01:00
parent eff400d6ed
commit 9dbff79789
2 changed files with 8 additions and 6 deletions

View file

@ -250,7 +250,7 @@ bool Renderer::createWindow()
<< std::to_string(displayMode.w * scaleFactor) << "x" << std::to_string(displayMode.w * scaleFactor) << "x"
<< std::to_string(displayMode.h * scaleFactor) << ")"; << std::to_string(displayMode.h * scaleFactor) << ")";
LOG(LogInfo) << "Display refresh rate: " << std::to_string(displayMode.refresh_rate) << " Hz"; LOG(LogInfo) << "Display refresh rate: " << std::to_string(displayMode.refresh_rate) << " Hz";
LOG(LogInfo) << "Application resolution: " << std::to_string(sScreenWidth) << "x" LOG(LogInfo) << "EmulationStation resolution: " << std::to_string(sScreenWidth) << "x"
<< std::to_string(sScreenHeight) << " (physical resolution " << std::to_string(sScreenHeight) << " (physical resolution "
<< std::to_string(sScreenWidth * scaleFactor) << "x" << std::to_string(sScreenWidth * scaleFactor) << "x"
<< std::to_string(sScreenHeight * scaleFactor) << ")"; << std::to_string(sScreenHeight * scaleFactor) << ")";
@ -268,7 +268,7 @@ bool Renderer::createWindow()
LOG(LogInfo) << "Display resolution: " << std::to_string(displayMode.w) << "x" LOG(LogInfo) << "Display resolution: " << std::to_string(displayMode.w) << "x"
<< std::to_string(displayMode.h); << std::to_string(displayMode.h);
LOG(LogInfo) << "Display refresh rate: " << std::to_string(displayMode.refresh_rate) << " Hz"; LOG(LogInfo) << "Display refresh rate: " << std::to_string(displayMode.refresh_rate) << " Hz";
LOG(LogInfo) << "Application resolution: " << std::to_string(sScreenWidth) << "x" LOG(LogInfo) << "EmulationStation resolution: " << std::to_string(sScreenWidth) << "x"
<< std::to_string(sScreenHeight); << std::to_string(sScreenHeight);
#endif #endif

View file

@ -228,13 +228,15 @@ bool RendererOpenGL::createContext()
LOG(LogInfo) << "GL renderer: " << renderer; LOG(LogInfo) << "GL renderer: " << renderer;
LOG(LogInfo) << "GL version: " << version; LOG(LogInfo) << "GL version: " << version;
#if defined(USE_OPENGLES) #if defined(USE_OPENGLES)
LOG(LogInfo) << "Application renderer: OpenGL ES " << mMajorGLVersion << "." << mMinorGLVersion; LOG(LogInfo) << "EmulationStation renderer: OpenGL ES " << mMajorGLVersion << "."
<< mMinorGLVersion;
#else #else
#if defined(_WIN64) #if defined(_WIN64)
LOG(LogInfo) << "Application renderer: OpenGL " << mMajorGLVersion << "." << mMinorGLVersion LOG(LogInfo) << "EmulationStation renderer: OpenGL " << mMajorGLVersion << "."
<< " with GLEW"; << mMinorGLVersion << " with GLEW";
#else #else
LOG(LogInfo) << "Application renderer: OpenGL " << mMajorGLVersion << "." << mMinorGLVersion; LOG(LogInfo) << "EmulationStation renderer: OpenGL " << mMajorGLVersion << "."
<< mMinorGLVersion;
#endif #endif
#endif #endif