]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Init gl_main before gl_draw to make DP start from anywhere without crashing. Addition...
authorblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 23 Dec 2006 16:04:52 +0000 (16:04 +0000)
committerblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 23 Dec 2006 16:04:52 +0000 (16:04 +0000)
(If this breaks something, you can try to stone me or whoever who wrote the code in the first place ;))

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6664 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c

index ac4fbd087a9a366ccd7a16b7d75eb4b545e21e71..c0a2f4466877411ed60d3e387e27b2d309fb60f7 100644 (file)
@@ -1050,8 +1050,8 @@ void Render_Init(void)
 {
        gl_backend_init();
        R_Textures_Init();
-       GL_Draw_Init();
        GL_Main_Init();
+       GL_Draw_Init();
        R_Shadow_Init();
        R_Sky_Init();
        GL_Surf_Init();