From fc55d85eaeb9335bb71e7e15991b4d9b0353efae Mon Sep 17 00:00:00 2001 From: divverent Date: Fri, 25 Nov 2011 13:13:06 +0000 Subject: [PATCH] fix another bug with HDR bloom git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11571 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_rmain.c | 2 ++ 1 file changed, 2 insertions(+) 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 } -- 2.39.2