_fix cleanup

This commit is contained in:
2025-01-01 23:48:17 +02:00
parent 45c88ceb01
commit a547689f69

View File

@@ -173,6 +173,7 @@ SDLWindow::SDLWindow(const CreateWindowSettings& settings)
SDL_SetPointerProperty(props, SDL_PROP_WINDOW_CREATE_PARENT_POINTER, _settings.Parent->_window);
_window = SDL_CreateWindowWithProperties(props);
SDL_DestroyProperties(props);
if (_window == nullptr)
Platform::Fatal(String::Format(TEXT("Cannot create SDL window: {0}"), String(SDL_GetError())));