From 8f9d8cab03a58efe1c157506e2d20dab8c87b6c9 Mon Sep 17 00:00:00 2001 From: mfranz Date: Sat, 28 Jan 2006 13:38:28 +0000 Subject: [PATCH] now that the renderer doesn't resize the window for every frame, we need to do it manually here --- src/Main/splash.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Main/splash.cxx b/src/Main/splash.cxx index f33baf3e1..7f5c4a8e6 100644 --- a/src/Main/splash.cxx +++ b/src/Main/splash.cxx @@ -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; -- 2.39.5