mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-23 15:52:55 +01:00
Fix assert in SDL2 (debug)
This commit is contained in:
@@ -550,9 +550,12 @@ public:
|
||||
void CloseWindow() override
|
||||
{
|
||||
drawing_engine_dispose();
|
||||
if (_window != nullptr)
|
||||
{
|
||||
SDL_DestroyWindow(_window);
|
||||
_window = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
void RecreateWindow() override
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user