mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
The add and subtract blend modes no longer modify the destination framebuffer's alpha.
This commit is contained in:
@@ -945,7 +945,7 @@ void Graphics::setBlendMode(BlendMode mode, bool multiplyalpha)
|
||||
func = GL_FUNC_REVERSE_SUBTRACT;
|
||||
case BLEND_ADD:
|
||||
srcRGB = GL_ONE;
|
||||
srcA = GL_SRC_ALPHA; // FIXME: This isn't correct...
|
||||
srcA = GL_ZERO;
|
||||
dstRGB = dstA = GL_ONE;
|
||||
break;
|
||||
case BLEND_SCREEN:
|
||||
|
||||
Reference in New Issue
Block a user