From 1b4e5e1b91cbb14a1693027821b2b6098c4637fd Mon Sep 17 00:00:00 2001
From: James Turner <zakalawe@mac.com>
Date: Wed, 25 May 2011 12:18:07 +0100
Subject: [PATCH] Unfortunately, the view code relies on resize being called
 each frame ... bah. Fixes startup aspect ratio for the moment.

---
 src/Main/renderer.cxx | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/Main/renderer.cxx b/src/Main/renderer.cxx
index 72f7b4dad..4edaf2406 100644
--- a/src/Main/renderer.cxx
+++ b/src/Main/renderer.cxx
@@ -785,12 +785,6 @@ FGRenderer::resize( int width, int height ) {
     int curWidth = _xsize->getIntValue(),
         curHeight = _ysize->getIntValue();
 
-    if ((width == curWidth) && (height == curHeight)) {
-      return;
-    }
-
-    SG_LOG(SG_GENERAL, SG_INFO, "renderer resized to " << width << "," << height);
-
     _xsize->setIntValue(width);
     _ysize->setIntValue(height);
     double aspect = height / (double) width;