mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
overlays: Fix perf_metrics_overlay visibility
Also change auto type to compiled_resource in order to silence a warning about accidental copy by value
This commit is contained in:
parent
663b2c9c5e
commit
e91df31f8c
1 changed files with 6 additions and 1 deletions
|
@ -555,7 +555,12 @@ namespace rsx
|
|||
|
||||
compiled_resource perf_metrics_overlay::get_compiled()
|
||||
{
|
||||
auto compiled_resources = m_body.get_compiled();
|
||||
if (!visible)
|
||||
{
|
||||
return {};
|
||||
}
|
||||
|
||||
compiled_resource compiled_resources = m_body.get_compiled();
|
||||
|
||||
compiled_resources.add(m_titles.get_compiled());
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue