Don't compare pointer against '0', but NULL

This commit is contained in:
Sylvain
2022-11-16 21:47:43 +01:00
parent 1d7966df15
commit ce5da5d579
14 changed files with 21 additions and 21 deletions

View File

@@ -546,10 +546,10 @@ PS2_DestroyTexture(SDL_Renderer * renderer, SDL_Texture * texture)
GSTEXTURE *ps2_texture = (GSTEXTURE *) texture->driverdata;
PS2_RenderData *data = (PS2_RenderData *)renderer->driverdata;
if (data == 0)
if (data == NULL)
return;
if(ps2_texture == 0)
if(ps2_texture == NULL)
return;
// Free from vram