Free the xiglob structure and all its related data, then release all SDL resources.
Documentation
Free the xiglob structure and all its related data, then release all SDL resources.
This function replaces SDL_Quit(), so please check your atexit() calls.