From Mathias Froehlich, "I had a chance to look into the remote display problems.
The screen resolution was queried for the wrong display."
This commit is contained in:
parent
9aab68b140
commit
6eccf540e6
@ -462,8 +462,10 @@ void View::setUpViewAcrossAllScreens()
|
||||
|
||||
for(unsigned int i=0; i<numScreens; ++i)
|
||||
{
|
||||
si.screenNum = i;
|
||||
|
||||
unsigned int width, height;
|
||||
wsi->getScreenResolution(osg::GraphicsContext::ScreenIdentifier(i), width, height);
|
||||
wsi->getScreenResolution(si, width, height);
|
||||
translate_x += double(width) / (double(height) * aspectRatio);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user