Skip to content

Commit

Permalink
Tracy profiler support added
Browse files Browse the repository at this point in the history
  • Loading branch information
barisyild authored and dimensionscape committed Nov 20, 2024
1 parent b21b1d0 commit a85b04d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/openfl/display/Stage.hx
Original file line number Diff line number Diff line change
Expand Up @@ -2162,7 +2162,11 @@ class Stage extends DisplayObjectContainer #if lime implements IModule #end
Telemetry.__endTiming(TelemetryCommandName.RENDER);
Telemetry.__rewindStack(stack);
#end


#if HXCPP_TRACY
cpp.vm.tracy.TracyProfiler.frameMark();
#end

return cancelled;
}

Expand Down

0 comments on commit a85b04d

Please sign in to comment.