| Index: sky/engine/platform/graphics/Color.cpp
|
| diff --git a/sky/engine/platform/graphics/Color.cpp b/sky/engine/platform/graphics/Color.cpp
|
| index 44221a850ed7d9bc953eb2d6da69e4a87fc787cf..2e2fde5a0eb5933ecf2d09e62bb505797d7f4e95 100644
|
| --- a/sky/engine/platform/graphics/Color.cpp
|
| +++ b/sky/engine/platform/graphics/Color.cpp
|
| @@ -167,14 +167,6 @@ bool Color::parseHexColor(const String& name, RGBA32& rgb)
|
| return parseHexColor(name.characters16(), name.length(), rgb);
|
| }
|
|
|
| -int differenceSquared(const Color& c1, const Color& c2)
|
| -{
|
| - int dR = c1.red() - c2.red();
|
| - int dG = c1.green() - c2.green();
|
| - int dB = c1.blue() - c2.blue();
|
| - return dR * dR + dG * dG + dB * dB;
|
| -}
|
| -
|
| bool Color::setFromString(const String& name)
|
| {
|
| if (name[0] != '#')
|
|
|