1
0
Fork 0

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:
mfranz 2005-05-04 10:57:35 +00:00
parent 927cb78aba
commit 69798de096

View file

@ -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();
}