_fix cleanup
This commit is contained in:
@@ -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())));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user