mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-07-19 14:15:17 +02:00
Update glstate.cpp (cf6403ae65
)
This commit is contained in:
parent
c9fa4f8619
commit
2be34d35b4
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue