mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-21 04:23:56 +00:00
Re-add SDL_assert() with non boolean ptr syntax (#8531)
This commit is contained in:
@@ -939,7 +939,7 @@ static int SetupTextureState(D3D_RenderData *data, SDL_Texture *texture, LPDIREC
|
||||
{
|
||||
D3D_TextureData *texturedata = (D3D_TextureData *)texture->driverdata;
|
||||
|
||||
SDL_assert(!*shader);
|
||||
SDL_assert(*shader == NULL);
|
||||
|
||||
if (!texturedata) {
|
||||
return SDL_SetError("Texture is not currently available");
|
||||
|
||||
Reference in New Issue
Block a user