mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-13 22:54:09 +00:00
fix custom pipes mem leak
This commit is contained in:
parent
1867a6c47b
commit
426364b961
3 changed files with 24 additions and 15 deletions
|
@ -262,11 +262,25 @@ CGame::InitialiseRenderWare(void)
|
|||
CPlayerSkin::Initialise();
|
||||
POP_MEMID();
|
||||
|
||||
#ifdef EXTENDED_PIPELINES
|
||||
CustomPipes::CustomPipeInit(); // need Scene.world for this
|
||||
#endif
|
||||
#ifdef SCREEN_DROPLETS
|
||||
ScreenDroplets::InitDraw();
|
||||
#endif
|
||||
|
||||
return (true);
|
||||
}
|
||||
|
||||
void CGame::ShutdownRenderWare(void)
|
||||
{
|
||||
#ifdef SCREEN_DROPLETS
|
||||
ScreenDroplets::Shutdown();
|
||||
#endif
|
||||
#ifdef EXTENDED_PIPELINES
|
||||
CustomPipes::CustomPipeShutdown();
|
||||
#endif
|
||||
|
||||
DestroySplashScreen();
|
||||
CHud::Shutdown();
|
||||
CFont::Shutdown();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue