mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-08 08:50:35 +00:00
start using CMemoryHeap
This commit is contained in:
parent
4ddc356341
commit
d857758c16
22 changed files with 652 additions and 238 deletions
|
@ -21,6 +21,7 @@
|
|||
#include "RenderBuffer.h"
|
||||
#include <rpworld.h>
|
||||
#include "WaterLevel.h"
|
||||
#include "MemoryHeap.h"
|
||||
|
||||
|
||||
float TEXTURE_ADDU;
|
||||
|
@ -1157,6 +1158,8 @@ CWaterLevel::AllocateBoatWakeArray()
|
|||
{
|
||||
CStreaming::MakeSpaceFor(14 * CDSTREAM_SECTOR_SIZE);
|
||||
|
||||
PUSH_MEMID(MEMID_STREAM);
|
||||
|
||||
ASSERT(ms_pWavyAtomic != NULL );
|
||||
|
||||
RpGeometry *wavyGeometry = RpAtomicGetGeometry(ms_pWavyAtomic);
|
||||
|
@ -1230,6 +1233,8 @@ CWaterLevel::AllocateBoatWakeArray()
|
|||
RpGeometryUnlock(apGeomArray[geom]);
|
||||
}
|
||||
}
|
||||
|
||||
POP_MEMID();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue