From 024fc5ea404bb8fc5dd96d10d67bd2ae87af7cc5 Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 3 Sep 2004 11:02:28 +0000 Subject: [PATCH] fixed r_drawportals - the meshqueue was not begun yet git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4427 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_rmain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gl_rmain.c b/gl_rmain.c index 36a39051..79b6ab24 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -663,6 +663,8 @@ void R_RenderScene(void) r_framecount++; + R_MeshQueue_BeginScene(); + GL_ShowTrisColor(0.05, 0.05, 0.05, 1); R_SetFrustum(); @@ -686,8 +688,6 @@ void R_RenderScene(void) R_MarkEntities(); R_TimeReport("markentity"); - R_MeshQueue_BeginScene(); - R_Shadow_UpdateWorldLightSelection(); // don't let sound skip if going slow -- 2.39.2