From 9dbff79789c962b34b124845483a232d4ea9b125 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Thu, 16 Feb 2023 22:44:47 +0100 Subject: [PATCH] Reverted some recent renderer log output changes. --- es-core/src/renderers/Renderer.cpp | 4 ++-- es-core/src/renderers/RendererOpenGL.cpp | 10 ++++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/es-core/src/renderers/Renderer.cpp b/es-core/src/renderers/Renderer.cpp index 5e9a960fe..d4b542d00 100644 --- a/es-core/src/renderers/Renderer.cpp +++ b/es-core/src/renderers/Renderer.cpp @@ -250,7 +250,7 @@ bool Renderer::createWindow() << std::to_string(displayMode.w * scaleFactor) << "x" << std::to_string(displayMode.h * scaleFactor) << ")"; 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(sScreenWidth * scaleFactor) << "x" << std::to_string(sScreenHeight * scaleFactor) << ")"; @@ -268,7 +268,7 @@ bool Renderer::createWindow() LOG(LogInfo) << "Display resolution: " << std::to_string(displayMode.w) << "x" << std::to_string(displayMode.h); 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); #endif diff --git a/es-core/src/renderers/RendererOpenGL.cpp b/es-core/src/renderers/RendererOpenGL.cpp index d60d988f2..f4d2d26d5 100644 --- a/es-core/src/renderers/RendererOpenGL.cpp +++ b/es-core/src/renderers/RendererOpenGL.cpp @@ -228,13 +228,15 @@ bool RendererOpenGL::createContext() LOG(LogInfo) << "GL renderer: " << renderer; LOG(LogInfo) << "GL version: " << version; #if defined(USE_OPENGLES) - LOG(LogInfo) << "Application renderer: OpenGL ES " << mMajorGLVersion << "." << mMinorGLVersion; + LOG(LogInfo) << "EmulationStation renderer: OpenGL ES " << mMajorGLVersion << "." + << mMinorGLVersion; #else #if defined(_WIN64) - LOG(LogInfo) << "Application renderer: OpenGL " << mMajorGLVersion << "." << mMinorGLVersion - << " with GLEW"; + LOG(LogInfo) << "EmulationStation renderer: OpenGL " << mMajorGLVersion << "." + << mMinorGLVersion << " with GLEW"; #else - LOG(LogInfo) << "Application renderer: OpenGL " << mMajorGLVersion << "." << mMinorGLVersion; + LOG(LogInfo) << "EmulationStation renderer: OpenGL " << mMajorGLVersion << "." + << mMinorGLVersion; #endif #endif