fix chili crash when gl.BlendFuncSeparate is not available