mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-23 22:41:56 +00:00
Re-add SDL_assert() with non boolean ptr syntax (#8531)
This commit is contained in:
parent
c29df1699e
commit
f3419d8c04
37 changed files with 73 additions and 73 deletions
|
|
@ -171,7 +171,7 @@ static void *SDLCALL SDLTest_TrackedRealloc(void *ptr, size_t size)
|
|||
{
|
||||
void *mem;
|
||||
|
||||
SDL_assert(!ptr || SDL_IsAllocationTracked(ptr));
|
||||
SDL_assert(ptr == NULL || SDL_IsAllocationTracked(ptr));
|
||||
mem = SDL_realloc_orig(ptr, size);
|
||||
if (mem && mem != ptr) {
|
||||
if (ptr) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue