mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-15 22:53:47 +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
|
void overlay::refresh() const
|
||||||
{
|
{
|
||||||
|
if (!visible)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (auto rsxthr = rsx::get_current_renderer(); rsxthr &&
|
if (auto rsxthr = rsx::get_current_renderer(); rsxthr &&
|
||||||
(min_refresh_duration_us + rsxthr->last_host_flip_timestamp) < rsx::uclock())
|
(min_refresh_duration_us + rsxthr->last_host_flip_timestamp) < rsx::uclock())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user