mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-24 09:30:24 +01: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 a new issue