Fixed setWindowWidth call to account for width and height correctly.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user