]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fixed r_drawportals - the meshqueue was not begun yet
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 3 Sep 2004 11:02:28 +0000 (11:02 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 3 Sep 2004 11:02:28 +0000 (11:02 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4427 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c

index 36a3905184af985e23b51c2316576b01965b63b5..79b6ab244e8f8e516173bf72340858e248beafd3 100644 (file)
@@ -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