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

Rewrite ViewportPaint to handle new DPI coords

This commit is contained in:
Michael Bernardi
2024-09-17 03:00:43 +10:00
parent 4cd5548352
commit 8212c83965
7 changed files with 52 additions and 87 deletions

View File

@@ -319,7 +319,7 @@ static void RenderViewport(IDrawingEngine* drawingEngine, const Viewport& viewpo
drawingEngine = tempDrawingEngine.get();
}
dpi.DrawingEngine = drawingEngine;
ViewportRender(dpi, &viewport, { { 0, 0 }, { viewport.width, viewport.height } });
ViewportRender(dpi, &viewport);
}
void ScreenshotGiant()