From: lordhavoc Date: Mon, 16 Oct 2000 22:11:37 +0000 (+0000) Subject: fix for transpolys disappearing while turning X-Git-Tag: RELEASE_0_2_0_RC1~966 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e2190913766b1c6c1abc65bb0edb5f2dabbfc398;p=xonotic%2Fdarkplaces.git fix for transpolys disappearing while turning git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@54 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_rmain.c b/gl_rmain.c index 4e0c6e2e..f7d2e004 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -1582,10 +1582,6 @@ void R_RenderView (void) lighthalf = gl_lightmode.value; FOG_framebegin(); - skypolyclear(); - wallpolyclear(); - transpolyclear(); - skyisvisible = false; // if (r_speeds2.value) // { @@ -1600,6 +1596,12 @@ void R_RenderView (void) R_SetupFrame (); R_SetFrustum (); R_SetupGL (); + + skypolyclear(); + wallpolyclear(); + transpolyclear(); + skyisvisible = false; + R_MarkLeaves (); // done here so we know if we're in water R_DrawWorld (); // adds static entities to the list if (!intimerefresh)