diff --git a/src/osgViewer/View.cpp b/src/osgViewer/View.cpp index 0a030057c..998302d0a 100644 --- a/src/osgViewer/View.cpp +++ b/src/osgViewer/View.cpp @@ -465,7 +465,7 @@ void View::setUpViewAcrossAllScreens() void View::setUpViewInWindow(int x, int y, int width, int height, unsigned int screenNum) { - apply(new osgViewer::SingleWindow(x,y,width,screenNum)); + apply(new osgViewer::SingleWindow(x, y, width, height, screenNum)); } void View::setUpViewOnSingleScreen(unsigned int screenNum)