fixed showing program title headers and footers on loading screen
authorHolger Schemel <info@artsoft.org>
Sun, 2 Apr 2023 18:24:51 +0000 (20:24 +0200)
committerHolger Schemel <info@artsoft.org>
Sun, 2 Apr 2023 18:26:28 +0000 (20:26 +0200)
This got lost when adding support for background image for loading
screen in commit b1734380.

src/init.c

index 718e1ca2c0d37c2d7643f199d4bce3511ac608fa..4407567a3299729d09233cf4897bb5a20d81c74e 100644 (file)
@@ -5792,10 +5792,6 @@ static void InitGfx(void)
 
   InitFontGraphicInfo();
 
-  DrawProgramInfo();
-
-  DrawInitTextHead("Loading graphics");
-
   InitMenuDesignSettings_Static();
 
   // initialize settings for initial images with default values
@@ -5911,6 +5907,8 @@ static void InitGfx(void)
 
   ClearRectangleOnBackground(window, 0, 0, WIN_XSIZE, WIN_YSIZE);
 
+  DrawProgramInfo();
+
   InitGfxDrawBusyAnimFunction(DrawInitAnim);
   InitGfxDrawGlobalAnimFunction(DrawGlobalAnimations);
   InitGfxDrawGlobalBorderFunction(DrawMaskedBorderToTarget);