mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-17 08:43:11 +00:00
Fix render_tests with indexed images
This commit is contained in:
parent
f53544842c
commit
2f426e3b2f
@ -125,6 +125,12 @@ public:
|
||||
if (m_blendMode == BlendMode::SRC) {
|
||||
return src;
|
||||
}
|
||||
else if (m_blendMode == BlendMode::DST_OVER) {
|
||||
if (dst != m_mask_color)
|
||||
return dst;
|
||||
else
|
||||
return src;
|
||||
}
|
||||
else {
|
||||
if (src != m_mask_color)
|
||||
return src;
|
||||
|
Loading…
x
Reference in New Issue
Block a user