mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-12-28 00:18:23 +00:00
overlays: don't flip if the overlay is invisible
This commit is contained in:
parent
d1a950d59f
commit
1e6c180690
@ -401,6 +401,11 @@ namespace rsx
|
||||
|
||||
void overlay::refresh() const
|
||||
{
|
||||
if (!visible)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (auto rsxthr = rsx::get_current_renderer(); rsxthr &&
|
||||
(min_refresh_duration_us + rsxthr->last_host_flip_timestamp) < rsx::uclock())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user