From: divverent Date: Fri, 25 Nov 2011 13:13:06 +0000 (+0000) Subject: fix another bug with HDR bloom X-Git-Tag: xonotic-v0.6.0~151 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0ce2a74764f13e2d1031ff630d713f4c5a82d3a2;p=xonotic%2Fdarkplaces.git fix another bug with HDR bloom git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11571 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=fc55d85eaeb9335bb71e7e15991b4d9b0353efae --- diff --git a/gl_rmain.c b/gl_rmain.c index fa02c335..b2f97887 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -6277,6 +6277,8 @@ static void R_Bloom_MakeTexture(void) } else { + if(x <= 2) + GL_Clear(GL_COLOR_BUFFER_BIT, NULL, 1.0f, 128); GL_BlendFunc(GL_SRC_COLOR, GL_ZERO); // square it GL_Color(1,1,1,1); // no fix factor supported here }