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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user