Move openings deinit to r_memory

This commit is contained in:
Magnus Norddahl 2017-01-04 19:13:58 +01:00
commit 4bcc34f01c
3 changed files with 11 additions and 8 deletions

View file

@ -61,4 +61,13 @@ namespace swrenderer
{
lastopening = 0;
}
void R_DeinitOpenings()
{
if (openings != nullptr)
{
M_Free(openings);
openings = nullptr;
}
}
}