mirror of https://github.com/libsdl-org/SDL.git
This was just causing confusion and anxiety. SDL temporary memory will be automatically freed on the main thread when processing events and on other threads when it ages out after a second. The application can free it directly by calling SDL_ClaimTemporaryMemory() to get ownership of the pointer, if necessary. |
||
|---|---|---|
| .. | ||
| SDL3 | ||
| build_config | ||