From 713ad32580d779f7fd58a2d47c24558913593ddf Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 4 Jul 2005 09:52:13 +0000 Subject: [PATCH] fix a crash when doing vid_restart or r_restart with detailtexturing on git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5489 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_rmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gl_rmain.c b/gl_rmain.c index b1f71307..2302d2ab 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -579,7 +579,6 @@ void Render_Init(void) { gl_backend_init(); R_Textures_Init(); - Mod_RenderInit(); R_MeshQueue_Init(); GL_Main_Init(); GL_Draw_Init(); @@ -593,6 +592,7 @@ void Render_Init(void) UI_Init(); Sbar_Init(); R_LightningBeams_Init(); + Mod_RenderInit(); } /* -- 2.39.2