Skip to content

Commit

Permalink
chore: remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
lajbel committed Oct 23, 2024
1 parent 4433162 commit 1d70e9f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/gfx/classes/TexPacker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ export default class TexPacker {
this.textures = [Texture.fromImage(gfx, this.canvas)];
this.bigTextures = [];

// render canvas on the dom
document.body.appendChild(this.canvas);

const context2D = this.canvas.getContext("2d");
if (!context2D) throw new Error("Failed to get 2d context");

Expand Down

0 comments on commit 1d70e9f

Please sign in to comment.