- moved Doom specific font init code out of the backend.

This commit is contained in:
Christoph Oelckers 2021-05-29 15:24:05 +02:00
commit b0ccd3a7df
4 changed files with 153 additions and 145 deletions

View file

@ -117,6 +117,7 @@
#include "texturemanager.h"
#include "hw_clock.h"
#include "hwrenderer/scene/hw_drawinfo.h"
#include "doomfont.h"
#ifdef __unix__
#include "i_system.h" // for SHARE_DIR
@ -3409,6 +3410,7 @@ static int D_DoomMain_Internal (void)
StartScreen->Progress();
V_InitFonts();
InitDoomFonts();
V_LoadTranslations();
UpdateGenericUI(false);