mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-07 09:56:59 +00:00
Fix bug in BlurGetPixelsDelegateIndexed::operator() in ink_processing.h.
This commit is contained in:
parent
6395ad3817
commit
cb0e3e9db1
@ -206,10 +206,10 @@ namespace {
|
||||
{
|
||||
a += (color == 0 ? 0: 255);
|
||||
|
||||
color = pal->getEntry(color);
|
||||
r += _rgba_getr(color);
|
||||
g += _rgba_getg(color);
|
||||
b += _rgba_getb(color);
|
||||
uint32_t color32 = pal->getEntry(color);
|
||||
r += _rgba_getr(color32);
|
||||
g += _rgba_getg(color32);
|
||||
b += _rgba_getb(color32);
|
||||
count++;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user