Fixed issue where objects with bloom disabled would screw up bloom rendering

This commit is contained in:
parax0
2015-07-29 12:49:53 -04:00
parent 4ef940b1f3
commit ae0b6f97df
2 changed files with 21 additions and 12 deletions

View File

@@ -117,7 +117,7 @@ void CScriptNode::Draw(ERenderOptions Options)
if (!mpActiveModel)
{
glBlendFunc(GL_ONE, GL_ZERO);
glBlendFuncSeparate(GL_ONE, GL_ZERO, GL_ZERO, GL_ZERO);
glDepthMask(GL_TRUE);
LoadModelMatrix();