From: cloudwalk Date: Sun, 31 May 2020 22:09:46 +0000 (+0000) Subject: Fix broken scissoring with the skybox when r_viewscale > 2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8b55d2ce6c0b200c4a60da68623bf25815f5cddd;p=xonotic%2Fdarkplaces.git Fix broken scissoring with the skybox when r_viewscale > 2 Adjusted to the correct resolutions. This happened when deferred shadows and shadowmapping were both turned off. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12616 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/r_sky.c b/r_sky.c index f0647f08..6d3af0be 100644 --- a/r_sky.c +++ b/r_sky.c @@ -432,7 +432,7 @@ void R_Sky(void) //GL_Clear(GL_DEPTH_BUFFER_BIT); } */ - GL_Scissor(0, 0, vid.width, vid.height); + GL_Scissor(0, 0, r_fb.screentexturewidth, r_fb.screentextureheight); } //===============================================================