mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-22 15:23:01 +01:00
Allow switching between OpenGL and other renderers without restarting
This commit is contained in:
committed by
Ted John
parent
ab39262ccf
commit
ae110a9159
@@ -663,6 +663,11 @@ extern "C"
|
||||
return GetContext()->GetUiContext()->SetFullscreenMode((FULLSCREEN_MODE)mode);
|
||||
}
|
||||
|
||||
void context_recreate_window()
|
||||
{
|
||||
GetContext()->GetUiContext()->RecreateWindow();
|
||||
}
|
||||
|
||||
sint32 context_get_resolutions(Resolution * * outResolutions)
|
||||
{
|
||||
auto resolutions = GetContext()->GetUiContext()->GetFullscreenResolutions();
|
||||
|
||||
Reference in New Issue
Block a user