We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a27d4ab commit 6e0e123Copy full SHA for 6e0e123
BaseMenu.cpp
@@ -621,9 +621,6 @@ void UI_UpdateMenu( float flTime )
621
// set from user configs
622
if( loadStuff )
623
{
624
- // init global background, root windows don't have background anymore
625
- uiStatic.background = new CMenuBackgroundBitmap();
626
-
627
// load localized strings
628
UI_LoadCustomStrings();
629
@@ -1064,6 +1061,11 @@ int UI_VidInit( void )
1064
1061
// load button sounds
1065
1062
UI_LoadSounds();
1066
1063
+ // init global background, root windows don't have background anymore
+ if( !uiStatic.background )
+ uiStatic.background = new CMenuBackgroundBitmap();
1067
+ uiStatic.background->VidInit();
1068
+
1069
uiStatic.menu.VidInit( calledOnce );
1070
1071
if( !calledOnce ) calledOnce = true;
0 commit comments