Unfortunately, the view code relies on resize being called each frame ... bah. Fixes startup aspect ratio for the moment.
This commit is contained in:
parent
436abe1e62
commit
1b4e5e1b91
1 changed files with 0 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue