Re-add SDL_assert() with non boolean ptr syntax (#8530)
This commit is contained in:
1 parent
b374105975
commit
04b6b2979f
35 files changed
+88
-88
No files matched your search
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user