mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
perf_overlay: fix guide line locations
The guide lines falsely started from the top and not from the bottom, as all datapoints do.
This commit is contained in:
parent
046d029e89
commit
210999b874
1 changed files with 1 additions and 1 deletions
|
@ -841,7 +841,7 @@ namespace rsx
|
|||
|
||||
for (auto y_off = m_guide_interval; y_off < m_max; y_off += m_guide_interval)
|
||||
{
|
||||
const f32 guide_y = y + y_off * normalize_factor;
|
||||
const f32 guide_y = y + h - y_off * normalize_factor;
|
||||
verts_guides.emplace_back(x, guide_y);
|
||||
verts_guides.emplace_back(static_cast<float>(x + w), guide_y);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue