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

Remove more redundant platform functions

This commit is contained in:
Ted John
2017-07-08 19:34:22 +01:00
parent 1394512df6
commit 5614e55f84
3 changed files with 2 additions and 34 deletions

View File

@@ -124,7 +124,6 @@ namespace OpenRCT2
EVP_MD_CTX_destroy(gHashCTX);
#endif // DISABLE_NETWORK
rct2_interop_dispose();
platform_free();
Instance = nullptr;
}
@@ -464,7 +463,7 @@ namespace OpenRCT2
Update();
if (!_isWindowMinimised && !gOpenRCT2Headless)
{
platform_draw();
drawing_engine_draw();
}
}
@@ -511,7 +510,7 @@ namespace OpenRCT2
const float alpha = (float)_accumulator / UPDATE_TIME_MS;
sprite_position_tween_all(alpha);
platform_draw();
drawing_engine_draw();
sprite_position_tween_restore();
}