mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 16:13:40 +00:00
(Vita) Check vita->texture before freeing it
This commit is contained in:
parent
56af52a268
commit
dbb91c85e6
@ -251,7 +251,8 @@ static void vita2d_gfx_free(void *data)
|
|||||||
if (vita->menu.frame)
|
if (vita->menu.frame)
|
||||||
vita2d_free_texture(vita->menu.frame);
|
vita2d_free_texture(vita->menu.frame);
|
||||||
|
|
||||||
vita2d_free_texture(vita->texture);
|
if (vita->texture)
|
||||||
|
vita2d_free_texture(vita->texture);
|
||||||
|
|
||||||
vita2d_fini();
|
vita2d_fini();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user