Destroy tex and tlut objects

This commit is contained in:
dbalatoni13 2025-04-09 01:22:45 +02:00
parent 05bae8b611
commit d327c22bb5
31 changed files with 123 additions and 26 deletions

View file

@ -1138,6 +1138,10 @@ void fn_1_10830(ModelData *arg0, HsfBitmap *arg1, HsfAttribute *arg2, s16 arg3)
GXInitTexObjLOD(&sp1C, GX_LINEAR, GX_LINEAR, 0, 0, 0, GX_FALSE, GX_FALSE, GX_ANISO_1);
}
GXLoadTexObj(&sp1C, arg3);
#ifdef TARGET_PC
GXDestroyTexObj(&sp1C);
GXDestroyTlutObj(&sp10);
#endif
}
#define SET_TEVCOLOR_ALPHA(reg, color_var, value) \