renderer: considerable fixes to repaint logic
This commit is contained in:
parent
f8c18ff797
commit
4531717f3e
2 changed files with 4 additions and 2 deletions
|
|
@ -156,7 +156,8 @@ void Events::listener_monitorFrame(void* owner, void* data) {
|
|||
if (!PMONITOR->tearingState.frameScheduledWhileBusy)
|
||||
return; // we did not schedule a frame yet to be displayed, but we are tearing. Why render?
|
||||
|
||||
PMONITOR->tearingState.nextRenderTorn = true;
|
||||
PMONITOR->tearingState.nextRenderTorn = true;
|
||||
PMONITOR->tearingState.frameScheduledWhileBusy = false;
|
||||
}
|
||||
|
||||
static auto* const PENABLERAT = &g_pConfigManager->getConfigValuePtr("misc:render_ahead_of_time")->intValue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue