progs/demos: fix glut initialization calls
Remove glutInitWindowPosition() calls to play nicer with window managers. Move glutInitWindowSize() calls before glutInit() so the the default window size can be overridden by the -geometry cmd line option.
This commit is contained in:
@@ -856,7 +856,6 @@ main(int ac, char **av)
|
||||
}
|
||||
*/
|
||||
|
||||
glutInitWindowPosition(0, 0);
|
||||
glutInitWindowSize(WIDTH, HEIGHT);
|
||||
glutInit(&ac, av);
|
||||
|
||||
|
Reference in New Issue
Block a user