Move the tex obj destroy in board/space
This commit is contained in:
parent
d327c22bb5
commit
a09f283d77
1 changed files with 4 additions and 4 deletions
|
|
@ -1095,10 +1095,6 @@ void BoardSpaceInit(s32 data_num)
|
|||
}
|
||||
}
|
||||
spaceDrawF = 1;
|
||||
#ifdef TARGET_PC
|
||||
GXDestroyTexObj(&spaceHiliteTex);
|
||||
GXDestroyTexObj(&spaceTex);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BoardSpaceDestroy(void)
|
||||
|
|
@ -1115,4 +1111,8 @@ void BoardSpaceDestroy(void)
|
|||
HuMemDirectFree(spaceTexData);
|
||||
spaceTexData = NULL;
|
||||
}
|
||||
#ifdef TARGET_PC
|
||||
GXDestroyTexObj(&spaceHiliteTex);
|
||||
GXDestroyTexObj(&spaceTex);
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue