]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Fix bug where r_showbboxes broke bloom texture updates by setting GL_CullFace in...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 23 Apr 2017 22:53:08 +0000 (22:53 +0000)
committerRudolf Polzer <divVerent@xonotic.org>
Mon, 24 Apr 2017 00:58:38 +0000 (02:58 +0200)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12332 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=c1878bd6bc94e9e53a1eeef0db5cd001f97f79f4

gl_rmain.c

index 8bf14a8afd42673e1fa13b42bc2deb6f3dcad96b..92e0d76c4e8fab5350a0d5eb77815dac2ad8f003 100644 (file)
@@ -6625,6 +6625,7 @@ static void R_Bloom_MakeTexture(void)
        r_fb.bloomindex = 0;
        R_Mesh_SetRenderTargets(r_fb.bloomfbo[r_fb.bloomindex], NULL, r_fb.bloomtexture[r_fb.bloomindex], NULL, NULL, NULL);
        R_SetViewport(&r_fb.bloomviewport);
+       GL_CullFace(GL_NONE);
        GL_DepthTest(false);
        GL_BlendFunc(GL_ONE, GL_ZERO);
        GL_Color(colorscale, colorscale, colorscale, 1);