Skip to content

Commit

Permalink
Remove todo
Browse files Browse the repository at this point in the history
Not much gain by caching the value
  • Loading branch information
Tyriar committed Dec 28, 2023
1 parent 2e03680 commit 1a82e0d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/browser/renderer/shared/TextureAtlas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1a82e0d

Please sign in to comment.