Clear screen to black on software renderer after it starts

This commit is contained in:
Cacodemon345
2025-09-21 17:55:39 +06:00
parent e736dbc694
commit 388f39e195
2 changed files with 8 additions and 0 deletions

View File

@@ -73,6 +73,12 @@ SoftwareRenderer::render()
m_backingStore->flush(rect);
}
void
SoftwareRenderer::exposeEvent(QExposeEvent* event)
{
render();
}
void
SoftwareRenderer::onBlit(int buf_idx, int x, int y, int w, int h)
{