X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FMain%2Fsplash.cxx;h=ce9d4361ea09fe8174a47c490c88fca5ecfd1621;hb=df472fe0f5542d570feab42ce9ac1076a07419eb;hp=e83506fb7223acf8d30a538c66ff1e241cf5ccb6;hpb=22b5b1c405f711a1c706eda267fcf66f351137a4;p=flightgear.git diff --git a/src/Main/splash.cxx b/src/Main/splash.cxx index e83506fb7..ce9d4361e 100644 --- a/src/Main/splash.cxx +++ b/src/Main/splash.cxx @@ -34,10 +34,10 @@ # include #endif -#include FG_GLUT_H - #include +#include + #include #include #include @@ -46,6 +46,8 @@ #include "globals.hxx" #include "fg_props.hxx" #include "splash.hxx" +#include "fg_os.hxx" + static SGTexture splash; @@ -141,8 +143,6 @@ void fgSplashUpdate ( double progress, float alpha ) { glTexCoord2f(0.0, 1.0); glVertex2f(xmin, ymax); glEnd(); - glutSwapBuffers(); - glEnable(GL_DEPTH_TEST); glEnable(GL_LIGHTING); glDisable(GL_TEXTURE_2D);