Clear the list of all assertion failures.
void SDL_ResetAssertionReport(void);
This function will clear the list of all assertions triggered up to that point. Immediately following this call, SDL_GetAssertionReport will return no items. In addition, any previously-triggered assertions will be reset to a trigger_count of zero, and their always_ignore state will be false.
This function is available since SDL 3.0.0.
1+1 == 3); // trigger an assertion.
SDL_assert("%p\n", SDL_GetAssertionReport()); // not NULL.
printf(
SDL_ResetAssertionReport();"%p\n", SDL_GetAssertionReport()); // NULL. printf(
CategoryAPI, CategoryAssertions