mirror of
https://gitlab.com/Theopse/fbi-i18n-zh.git
synced 2025-04-06 03:58:02 +08:00
Set texture data pointer to NULL when unloading a texture. Fixes duplicate icons in title list.
This commit is contained in:
parent
4bada77420
commit
8d917542fb
@ -462,6 +462,7 @@ void screen_unload_texture(u32 id) {
|
||||
}
|
||||
|
||||
C3D_TexDelete(&textures[id].tex);
|
||||
textures[id].tex.data = NULL;
|
||||
|
||||
textures[id].allocated = false;
|
||||
textures[id].width = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user