Remove todo

Not much gain by caching the value
This commit is contained in:
Daniel Imms
2023-12-28 09:47:05 -08:00
parent 2e03680128
commit 1a82e0d421
@@ -291,7 +291,6 @@ export class TextureAtlas implements ITextureAtlas {
break;
case Attributes.CM_RGB:
const arr = AttributeData.toColorRGB(bgColor);
// TODO: This object creation is slow
result = channels.toColor(arr[0], arr[1], arr[2]);
break;
case Attributes.CM_DEFAULT: