mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-20 15:51:07 +01:00
Re-add SDL_assert() with non boolean ptr syntax (#8530)
This commit is contained in:
@@ -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