forked from rosebudai/OpenRCT2-Web
Fix changing scale or resizing the window having empty areas
This commit is contained in:
1 file changed
+3
@@ -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