Skip to content

Commit b063792

Browse files
committed
Fix build more
1 parent 3a2f6e6 commit b063792

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

toolkit/editor/editor/ui/windows/profiler.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ int
132132
RecursiveDrawGpuMarker(const CoreGraphics::FrameProfilingMarker& marker, Profiler::HighLightRegion& highlightRegion, ImDrawList* drawList, const ImVec2 start, const ImVec2 fullSize, ImVec2 pos, const ImVec2 canvas, const float fullFrameTime, const float startSection, const float endSection, const int level)
133133
{
134134
// convert to milliseconds
135-
float begin = marker.start / 1000000000.0f + marker.cpuBegin;
135+
float begin = marker.start / 1000000000.0f;
136136
float duration = marker.duration / 1000000000.0f;
137137

138138
const float startTime = startSection * fullFrameTime;

0 commit comments

Comments
 (0)