Move openings deinit to r_memory
This commit is contained in:
parent
e0f1fc4066
commit
4bcc34f01c
3 changed files with 11 additions and 8 deletions
|
|
@ -61,4 +61,13 @@ namespace swrenderer
|
|||
{
|
||||
lastopening = 0;
|
||||
}
|
||||
|
||||
void R_DeinitOpenings()
|
||||
{
|
||||
if (openings != nullptr)
|
||||
{
|
||||
M_Free(openings);
|
||||
openings = nullptr;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue