From 384e3e9c7bca1ebacf9f33343ba19e8f6c5ebe5a Mon Sep 17 00:00:00 2001 From: black Date: Sat, 23 Dec 2006 16:04:52 +0000 Subject: [PATCH] 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 --- gl_rmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.2