mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 22:41:25 +12: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()
|
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());
|
compiled_resources.add(m_titles.get_compiled());
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue