1
0
Fork 0

now that the renderer doesn't resize the window for every frame, we need

to do it manually here
This commit is contained in:
mfranz 2006-01-28 13:38:28 +00:00
parent bae5d4e92b
commit 8f9d8cab03

View file

@ -52,6 +52,7 @@
#include "fg_props.hxx"
#include "splash.hxx"
#include "fg_os.hxx"
#include "renderer.hxx"
static const int fontsize = 19;
static const char fontname[] = "default.txf";
@ -138,6 +139,7 @@ void fgSplashProgress ( const char *s )
void fgSplashUpdate ( float alpha ) {
int screen_width = fgGetInt("/sim/startup/xsize", 0);
int screen_height = fgGetInt("/sim/startup/ysize", 0);
globals->get_renderer()->resize(screen_width, screen_height);
if (!screen_width || !screen_height)
return;