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

Move SDL_LoadBMP call to libopenrct2ui (#5616)

This commit is contained in:
Ted John
2017-06-14 19:47:22 +01:00
committed by GitHub
parent 46b575ee18
commit 1dae7f9f32
6 changed files with 86 additions and 23 deletions

View File

@@ -671,6 +671,11 @@ extern "C"
windowManager->HandleKeyboard(isTitle);
}
bool context_read_bmp(void * * outPixels, uint32 * outWidth, uint32 * outHeight, const utf8 * path)
{
return GetContext()->GetUiContext()->ReadBMP(outPixels, outWidth, outHeight, std::string(path));
}
bool platform_open_common_file_dialog(utf8 * outFilename, file_dialog_desc * desc, size_t outSize)
{
try