1
0
Fork 0
forked from fte/fteqw

Fix crash on vid_reload using native menus.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5337 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Eukara 2018-11-11 02:53:04 +00:00
parent 346e366dfa
commit 398c1afaf9

View file

@ -1557,6 +1557,10 @@ TRACE(("dbg: R_ApplyRenderer: wad loaded\n"));
Image_Init();
Draw_Init();
TRACE(("dbg: R_ApplyRenderer: draw inited\n"));
#ifdef MENU_NATIVECODE
if (mn_entry)
mn_entry->Init(MI_RENDERER, vid.width, vid.height, vid.rotpixelwidth, vid.rotpixelheight);
#endif
R_Init();
RQ_Init();
R_InitParticleTexture ();