Re-add SDL_assert() with non boolean ptr syntax (#8530)

This commit is contained in:
Sylvain Becker
2023-11-11 10:28:24 +01:00
committed by GitHub
parent b374105975
commit 04b6b2979f
35 changed files with 88 additions and 88 deletions

View File

@@ -188,7 +188,7 @@ static Thing *CreateThing(ThingType what, float x, float y, float z, float w, fl
}
if ((w < 0) || (h < 0)) {
SDL_assert(texture);
SDL_assert(texture != NULL);
if (w < 0) {
w = texture->w;
}