1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-23 15:52:55 +01:00

Update implicit zoom conversions

This commit is contained in:
Hielke Morsink
2021-09-29 20:04:56 +02:00
parent fdce5df6db
commit 53d9bfa8b4
54 changed files with 121 additions and 107 deletions

View File

@@ -387,9 +387,8 @@ void screenshot_giant()
throw std::runtime_error("Giant screenshot failed, unable to find a suitable destination path.");
}
int32_t rotation = get_current_rotation();
ZoomLevel zoom = 0;
auto rotation = get_current_rotation();
auto zoom = ZoomLevel{ 0 };
auto mainWindow = window_get_main();
auto vp = window_get_viewport(mainWindow);
if (mainWindow != nullptr && vp != nullptr)