From 1a82e0d421e76149d50d3eb3db628a88e5b5ccb0 Mon Sep 17 00:00:00 2001 From: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Thu, 28 Dec 2023 09:47:05 -0800 Subject: [PATCH] Remove todo Not much gain by caching the value --- src/browser/renderer/shared/TextureAtlas.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/browser/renderer/shared/TextureAtlas.ts b/src/browser/renderer/shared/TextureAtlas.ts index 3b3d88091d..af2cafb8f2 100644 --- a/src/browser/renderer/shared/TextureAtlas.ts +++ b/src/browser/renderer/shared/TextureAtlas.ts @@ -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: