optionally use guarded alloc for tiles compositor, also replace allocation functions...
[blender.git] / source / gameengine / Rasterizer / RAS_TexVert.h
index f76c6a66c86a1664c4db9b150b6ca84d5aecfcd3..15059a9cf127795e0f25ae8b9b7657e562fa7f79 100644 (file)
@@ -141,11 +141,10 @@ public:
        // compare two vertices, to test if they can be shared, used for
        // splitting up based on uv's, colors, etc
        bool                            closeTo(const RAS_TexVert* other);
-       
+
+
 #ifdef WITH_CXX_GUARDEDALLOC
-public:
-       void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:RAS_TexVert"); }
-       void operator delete( void *mem ) { MEM_freeN(mem); }
+       MEM_CXX_CLASS_ALLOC_FUNCS("GE:RAS_TexVert")
 #endif
 };