Skip to content

Commit

Permalink
draw: cleanup dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
satelllte committed Nov 14, 2023
1 parent 0eb3884 commit 54d7a7d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/pages/Generator/CanvasSection/utils/draw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ export const draw = ({
const renderStartTimeMs = performance.now();

clearCanvas(ctx2d);
// ClearCanvas(ctx2dNormal);

drawBackground({ctx2d, backgroundBrightness});

Expand Down Expand Up @@ -140,7 +139,6 @@ export const draw = ({
}
},
onEnd() {
// DrawNormal({ctx2d, ctx2dNormal});
const renderTimeMs = performance.now() - renderStartTimeMs;
onEnd(renderTimeMs);
},
Expand Down

0 comments on commit 54d7a7d

Please sign in to comment.