mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-04 08:46:09 +00:00
Minor fix in OctreeMap::mapColor function
This commit is contained in:
parent
2e968d7a09
commit
f1899ee397
@ -260,7 +260,7 @@ int OctreeMap::mapColor(color_t rgba) const
|
||||
else if (m_root.children())
|
||||
return m_root.mapColor(rgba_getr(rgba),
|
||||
rgba_getg(rgba),
|
||||
rgba_geta(rgba), 0);
|
||||
rgba_getb(rgba), 0);
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user