Disabled debugging output on video mode switch
authorIngo Ruhnke <grumbel@gmx.de>
Mon, 7 Dec 2009 18:01:07 +0000 (18:01 +0000)
committerIngo Ruhnke <grumbel@gmx.de>
Mon, 7 Dec 2009 18:01:07 +0000 (18:01 +0000)
SVN-Revision: 6194

src/video/gl/gl_renderer.cpp

index 7e6ce77..0b53997 100644 (file)
@@ -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<float>(desktop_size.width) / static_cast<float>(desktop_size.height);