Initialize the screen handling code before the renderer

This change is needed to break a otherwise fatal cycle:
- The renderer calls VID_MenuInit()
- VID_MenuInit() calls SCR_GetMenuScale()
- SCR_GetMenuScale() relies on gl_menuscale which is still
  uninitialized at this time.
This commit is contained in:
Yamagi Burmeister 2014-06-23 18:27:17 +02:00
parent 97139029b0
commit 2795088e86

View file

@ -873,6 +873,8 @@ CL_Init(void)
S_Init();
SCR_Init();
VID_Init();
V_Init();
@ -883,8 +885,6 @@ CL_Init(void)
M_Init();
SCR_Init();
cls.disable_screen = true; /* don't draw yet */
#ifdef CDA