From: black Date: Sat, 23 Dec 2006 16:04:52 +0000 (+0000) Subject: Init gl_main before gl_draw to make DP start from anywhere without crashing. Addition... X-Git-Tag: xonotic-v0.1.0preview~3736 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=384e3e9c7bca1ebacf9f33343ba19e8f6c5ebe5a;p=xonotic%2Fdarkplaces.git Init gl_main before gl_draw to make DP start from anywhere without crashing. Additionally it's more logical that way. (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 --- diff --git a/gl_rmain.c b/gl_rmain.c index ac4fbd08..c0a2f446 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -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();