From 6eccf540e6e71d7402dc9a1943d0907bc91d074a Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 28 Sep 2007 13:38:32 +0000 Subject: [PATCH] From Mathias Froehlich, "I had a chance to look into the remote display problems. The screen resolution was queried for the wrong display." --- src/osgViewer/View.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); }