optionally use guarded alloc for tiles compositor, also replace allocation functions with a macro.
This commit is contained in:
@@ -73,12 +73,10 @@ public:
|
||||
virtual void SetDrawingMode(int drawingmode);
|
||||
|
||||
virtual bool QueryLists(){return true;}
|
||||
|
||||
|
||||
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:RAS_ListRasterizer"); }
|
||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("GE:RAS_ListRasterizer")
|
||||
#endif
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user