mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 06:34:36 +00:00
Fix typo.
This commit is contained in:
parent
869d75f53e
commit
92241fc0a4
@ -257,7 +257,7 @@ struct FlameGraphContext
|
||||
float ty;
|
||||
float ostep;
|
||||
double pxns;
|
||||
double nxps;
|
||||
double nspx;
|
||||
};
|
||||
|
||||
void View::DrawFlameGraphLevel( const std::vector<FlameGraphItem>& data, FlameGraphContext& ctx, uint64_t ts, int depth, bool samples )
|
||||
@ -727,7 +727,7 @@ void View::DrawFlameGraph()
|
||||
ctx.ty = ImGui::GetTextLineHeight();
|
||||
ctx.ostep = ctx.ty + 1;
|
||||
ctx.pxns = region.x / zsz;
|
||||
ctx.nxps = 1.0 / ctx.pxns;
|
||||
ctx.nspx = 1.0 / ctx.pxns;
|
||||
|
||||
ImGui::ItemSize( region );
|
||||
DrawFlameGraphLevel( m_flameGraphData, ctx, 0, 0, m_flameMode == 1 );
|
||||
|
Loading…
Reference in New Issue
Block a user