mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
demos: set init window size, not pos
This commit is contained in:
parent
a902b6ba48
commit
189db329ca
1 changed files with 1 additions and 1 deletions
|
|
@ -242,7 +242,7 @@ int
|
|||
main(int argc, char *argv[])
|
||||
{
|
||||
glutInit(&argc, argv);
|
||||
glutInitWindowPosition( 0, 0);
|
||||
glutInitWindowSize(300, 300);
|
||||
glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH);
|
||||
Win = glutCreateWindow(argv[0]);
|
||||
glutReshapeFunc(Reshape);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue