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:
@@ -623,7 +623,6 @@ init(void)
|
||||
int
|
||||
main(int ac, char **av)
|
||||
{
|
||||
glutInitWindowPosition(0, 0);
|
||||
glutInitWindowSize(WIDTH, HEIGHT);
|
||||
glutInit(&ac, av);
|
||||
|
||||
|
Reference in New Issue
Block a user