GnomeScreensaver: aspect ratio is for entire virtual screen, not just one monitor
This commit is contained in:
1 parent
27e302f126
commit
6cd00909e0
2 files changed
+3
-2
No files matched your search
+2
-1
@@ -29,7 +29,8 @@ bool Spin::configure (GnomeScreensaver & gs)
|
||||
{
|
||||
glMatrixMode(GL_PROJECTION);
|
||||
glLoadIdentity();
|
||||
gluPerspective(60.0, gs.getAspectRatio(), 0.01, 1000.0);
|
||||
gluPerspective(60.0, gs.getAspectRatio() / gs.getNumMonitors(),
|
||||
0.01, 1000.0);
|
||||
|
||||
glMatrixMode(GL_MODELVIEW);
|
||||
glLoadIdentity();
|
||||
|
||||
Reference in new issue
Block a user