]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix a crash when doing vid_restart or r_restart with detailtexturing on
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 4 Jul 2005 09:52:13 +0000 (09:52 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 4 Jul 2005 09:52:13 +0000 (09:52 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5489 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c

index b1f71307787e95d86947e79c241d23cb20ccf15e..2302d2abd526b223a71f91b22d7236e0a9c19267 100644 (file)
@@ -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();
 }
 
 /*