mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-13 05:24:08 +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
|
@ -481,15 +481,7 @@ Initialise3D(void *param)
|
|||
DebugMenuInit();
|
||||
DebugMenuPopulate();
|
||||
#endif // !DEBUGMENU
|
||||
bool ret = CGame::InitialiseRenderWare();
|
||||
#ifdef EXTENDED_PIPELINES
|
||||
CustomPipes::CustomPipeInit(); // need Scene.world for this
|
||||
#endif
|
||||
#ifdef SCREEN_DROPLETS
|
||||
ScreenDroplets::InitDraw();
|
||||
#endif
|
||||
|
||||
return ret;
|
||||
return CGame::InitialiseRenderWare();
|
||||
}
|
||||
POP_MEMID();
|
||||
|
||||
|
@ -499,12 +491,6 @@ Initialise3D(void *param)
|
|||
static void
|
||||
Terminate3D(void)
|
||||
{
|
||||
#ifdef SCREEN_DROPLETS
|
||||
ScreenDroplets::Shutdown();
|
||||
#endif
|
||||
#ifdef EXTENDED_PIPELINES
|
||||
CustomPipes::CustomPipeShutdown();
|
||||
#endif
|
||||
CGame::ShutdownRenderWare();
|
||||
#ifdef DEBUGMENU
|
||||
DebugMenuShutdown();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue