mirror of
https://github.com/GTAmodding/re3.git
synced 2025-08-28 21:50:50 +00:00
fix custom pipes mem leak
This commit is contained in:
parent
d39c145f60
commit
14f7dbade8
3 changed files with 24 additions and 14 deletions
|
@ -274,12 +274,26 @@ CGame::InitialiseRenderWare(void)
|
|||
CPlayerSkin::Initialise();
|
||||
#endif
|
||||
|
||||
#ifdef EXTENDED_PIPELINES
|
||||
CustomPipes::CustomPipeInit(); // need Scene.world for this
|
||||
#endif
|
||||
#ifdef SCREEN_DROPLETS
|
||||
ScreenDroplets::InitDraw();
|
||||
#endif
|
||||
|
||||
return (true);
|
||||
}
|
||||
|
||||
// missing altogether on PS2
|
||||
void CGame::ShutdownRenderWare(void)
|
||||
{
|
||||
#ifdef SCREEN_DROPLETS
|
||||
ScreenDroplets::Shutdown();
|
||||
#endif
|
||||
#ifdef EXTENDED_PIPELINES
|
||||
CustomPipes::CustomPipeShutdown();
|
||||
#endif
|
||||
|
||||
CMBlur::MotionBlurClose();
|
||||
DestroySplashScreen();
|
||||
CHud::Shutdown();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue