Move openings deinit to r_memory
This commit is contained in:
parent
e0f1fc4066
commit
4bcc34f01c
3 changed files with 11 additions and 8 deletions
|
|
@ -102,7 +102,6 @@ static void R_ShutdownRenderer();
|
|||
|
||||
// EXTERNAL DATA DECLARATIONS ----------------------------------------------
|
||||
|
||||
extern short *openings;
|
||||
extern int fuzzviewheight;
|
||||
|
||||
|
||||
|
|
@ -391,13 +390,7 @@ static void R_ShutdownRenderer()
|
|||
R_DeinitSprites();
|
||||
R_DeinitPlanes();
|
||||
Clip3DFloors::Instance()->Cleanup();
|
||||
// Free openings
|
||||
if (openings != NULL)
|
||||
{
|
||||
M_Free (openings);
|
||||
openings = NULL;
|
||||
}
|
||||
|
||||
R_DeinitOpenings();
|
||||
R_FreeDrawSegs();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue