1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Fix changing scale or resizing the window having empty areas

This commit is contained in:
ζeh Matt
2025-04-19 17:25:35 +03:00
parent e34c52de59
commit c2d239c8c9

View File

@@ -255,8 +255,11 @@ public:
ConfigureBits(width, height, width);
ConfigureCanvas();
ConfigureDirtyGrid();
_drawingContext->Resize(width, height);
_drawingContext->StartNewDraw();
_drawingContext->Clear(_bitsDPI, PaletteIndex::pi10);
_drawingContext->FlushCommandBuffers();
}
void ConfigureDirtyGrid()