mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-06 06:58:15 +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())
|
else if (m_root.children())
|
||||||
return m_root.mapColor(rgba_getr(rgba),
|
return m_root.mapColor(rgba_getr(rgba),
|
||||||
rgba_getg(rgba),
|
rgba_getg(rgba),
|
||||||
rgba_geta(rgba), 0);
|
rgba_getb(rgba), 0);
|
||||||
else
|
else
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user