Fixed setWindowWidth call to account for width and height correctly.

This commit is contained in:
Robert Osfield
2002-03-09 10:53:19 +00:00
parent 1d00a87b09
commit 8a8015c41c

View File

@@ -165,7 +165,7 @@ bool Viewer::open()
selectCameraManipulator(0,index);
}
GLUTEventAdapter::setWindowSize( _wx, _wy, _ww, _wh );
GLUTEventAdapter::setWindowSize( _wx, _wy, _wx+_ww, _wx+_wh );
GLUTEventAdapter::setButtonMask(0);