forked from Green-Sky/tomato
min fps for inactive reduced now 1fps
This commit is contained in:
parent
b0173f6d68
commit
671772a20e
@ -228,7 +228,7 @@ Screen* MainScreen::render(float time_delta, bool&) {
|
|||||||
_window_hidden
|
_window_hidden
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
_render_interval = std::min<float>(1.f/4.f, pm_interval);
|
_render_interval = std::min<float>(1.f/1.f, pm_interval);
|
||||||
} else {
|
} else {
|
||||||
_render_interval = std::min<float>(1.f/60.f, pm_interval);
|
_render_interval = std::min<float>(1.f/60.f, pm_interval);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user