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:
parent
346e366dfa
commit
398c1afaf9
1 changed files with 4 additions and 0 deletions
|
@ -1557,6 +1557,10 @@ TRACE(("dbg: R_ApplyRenderer: wad loaded\n"));
|
||||||
Image_Init();
|
Image_Init();
|
||||||
Draw_Init();
|
Draw_Init();
|
||||||
TRACE(("dbg: R_ApplyRenderer: draw inited\n"));
|
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();
|
R_Init();
|
||||||
RQ_Init();
|
RQ_Init();
|
||||||
R_InitParticleTexture ();
|
R_InitParticleTexture ();
|
||||||
|
|
Loading…
Reference in a new issue