From: Ingo Ruhnke Date: Mon, 7 Dec 2009 18:01:07 +0000 (+0000) Subject: Disabled debugging output on video mode switch X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=8d07c4337962a5989140adc51e2c3f5d02bfd422;p=supertux.git Disabled debugging output on video mode switch SVN-Revision: 6194 --- diff --git a/src/video/gl/gl_renderer.cpp b/src/video/gl/gl_renderer.cpp index 7e6ce77ba..0b539972e 100644 --- a/src/video/gl/gl_renderer.cpp +++ b/src/video/gl/gl_renderer.cpp @@ -530,15 +530,15 @@ GLRenderer::resize(int w, int h) void GLRenderer::apply_config() { - if (1) + if (false) { - std::cout << "Applying Config:" - << "\n Desktop: " << desktop_size.width << "x" << desktop_size.height - << "\n Window: " << g_config->window_size - << "\n FullRes: " << g_config->fullscreen_size - << "\n Aspect: " << g_config->aspect_size - << "\n Magnif: " << g_config->magnification - << std::endl; + log_info << "Applying Config:" + << "\n Desktop: " << desktop_size.width << "x" << desktop_size.height + << "\n Window: " << g_config->window_size + << "\n FullRes: " << g_config->fullscreen_size + << "\n Aspect: " << g_config->aspect_size + << "\n Magnif: " << g_config->magnification + << std::endl; } float target_aspect = static_cast(desktop_size.width) / static_cast(desktop_size.height);