X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FMain%2Fsplash.cxx;h=202b47c49d100fcada72367ec2996516965e0499;hb=ebe5fc30927a6b828577239b42ba65f520ac8775;hp=f33baf3e10d6ab206d2f375ef6c2cab59be4a4ef;hpb=ae96deb2c135903095894d46a583a64ee0e0271f;p=flightgear.git diff --git a/src/Main/splash.cxx b/src/Main/splash.cxx index f33baf3e1..202b47c49 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"; @@ -142,6 +143,7 @@ void fgSplashUpdate ( float alpha ) { if (!screen_width || !screen_height) return; + globals->get_renderer()->resize(screen_width, screen_height); int size = screen_width < (screen_height - 5 * fontsize) ? screen_width : screen_height - 5 * fontsize; if (size > 512)