1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 21:43:06 +01:00

do not draw windows twice on OpenGL

This commit is contained in:
Ted John
2016-06-05 12:54:29 +01:00
parent 8edc97bebe
commit ccec48e382
2 changed files with 3 additions and 1 deletions

View File

@@ -293,7 +293,10 @@ public:
_rainDrawer.SetDPI(&_bitsDPI);
_rainDrawer.Restore();
// Redraw dirty regions before updating the viewports, otherwise
// when viewports get panned, they copy dirty pixels
DrawAllDirtyBlocks();
window_update_all_viewports();
DrawAllDirtyBlocks();
window_update_all();