Skip to content

Commit

Permalink
Fix profiler undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
FurryR authored Dec 25, 2024
1 parent c396194 commit 84967f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/tw-frame-loop.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class FrameLoop {
if (this.runtime.profiler !== null) {
if (rendererDrawProfilerId === -1) {
rendererDrawProfilerId =
this.profiler.idByName('RenderWebGL.draw');
this.runtime.profiler.idByName('RenderWebGL.draw');
}
this.runtime.profiler.start(rendererDrawProfilerId);
}
Expand Down

0 comments on commit 84967f4

Please sign in to comment.