pointer: use preMonitorCommit for resetting render state

in DS preRender is not called
This commit is contained in:
Vaxry
2024-07-30 15:32:38 +02:00
parent 10e631053a
commit f3a9f9ec45
2 changed files with 3 additions and 1 deletions

View File

@@ -863,6 +863,8 @@ bool CMonitorState::commit() {
if (!updateSwapchain())
return false;
EMIT_HOOK_EVENT("preMonitorCommit", m_pOwner);
ensureBufferPresent();
bool ret = m_pOwner->output->commit();