open black window immediately. This doesn't only give useful feedback,
it also allows to switch desktops shortly after starting fgfs without having the window pop up on the "wrong" virtual desktop.
This commit is contained in:
parent
927cb78aba
commit
69798de096
1 changed files with 4 additions and 0 deletions
|
@ -217,4 +217,8 @@ void fgOSOpenWindow(int w, int h, int bpp, bool alpha,
|
|||
glutDisplayFunc(GLUTdraw);
|
||||
glutReshapeFunc(GLUTreshape);
|
||||
|
||||
glutShowWindow();
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
glutSwapBuffers();
|
||||
glutPostRedisplay();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue