]> git.mxchange.org Git - flightgear.git/commitdiff
Unfortunately, the view code relies on resize being called each frame ... bah. Fixes...
authorJames Turner <zakalawe@mac.com>
Wed, 25 May 2011 11:18:07 +0000 (12:18 +0100)
committerJames Turner <zakalawe@mac.com>
Wed, 25 May 2011 11:18:07 +0000 (12:18 +0100)
src/Main/renderer.cxx

index 72f7b4dadb2442ed61061fdf64d15704dd9d7e9b..4edaf240607690b0c1fccd96355a3a51d1aa447b 100644 (file)
@@ -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;