diff --git a/src/display/gl/glstate.cpp b/src/display/gl/glstate.cpp index 3017bec0..1f56cec2 100644 --- a/src/display/gl/glstate.cpp +++ b/src/display/gl/glstate.cpp @@ -75,9 +75,8 @@ void GLBlendMode::apply(const BlendType &value) { break; case BlendSubstraction: - // FIXME Alpha calculation is untested gl.BlendEquation(GL_FUNC_REVERSE_SUBTRACT); - gl.BlendFuncSeparate(GL_SRC_ALPHA, GL_ONE, GL_ONE, GL_ONE); + gl.BlendFuncSeparate(GL_SRC_ALPHA, GL_ONE, GL_ZERO, GL_ONE); break; } }