now that the renderer doesn't resize the window for every frame, we need
to do it manually here
This commit is contained in:
parent
bae5d4e92b
commit
8f9d8cab03
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue