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

@ -53,6 +53,9 @@ void DEMOLoadFont(enum _GXTexMapID texMap, enum _GXTexMtx texMtx, DMTexFlt texFl
GXLoadTexMtxImm(fontTMtx, texMtx, 1);
GXSetNumTexGens(1);
GXSetTexCoordGen(0, 1, 4, texMtx);
#ifdef TARGET_PC
GXDestroyTexObj(&fontTexObj);
#endif
}
void DEMOSetupScrnSpc(long width, long height, float depth)