diff --git a/src/osgViewer/View.cpp b/src/osgViewer/View.cpp index dba8a60ad..7a3279f59 100644 --- a/src/osgViewer/View.cpp +++ b/src/osgViewer/View.cpp @@ -462,8 +462,10 @@ void View::setUpViewAcrossAllScreens() for(unsigned int i=0; igetScreenResolution(osg::GraphicsContext::ScreenIdentifier(i), width, height); + wsi->getScreenResolution(si, width, height); translate_x += double(width) / (double(height) * aspectRatio); }