[Bf-blender-cvs] [abb63be] master: Use C++ guarded alloc for FilterBase

Campbell Barton noreply at git.blender.org
Tue Sep 8 11:48:32 CEST 2015


Commit: abb63be099687cdf1ae9573c344b7e3bb71be0eb
Author: Campbell Barton
Date:   Tue Sep 8 19:39:05 2015 +1000
Branches: master
https://developer.blender.org/rBabb63be099687cdf1ae9573c344b7e3bb71be0eb

Use C++ guarded alloc for FilterBase

===================================================================

M	source/gameengine/VideoTexture/FilterBase.h

===================================================================

diff --git a/source/gameengine/VideoTexture/FilterBase.h b/source/gameengine/VideoTexture/FilterBase.h
index 25a6d5f..498917e 100644
--- a/source/gameengine/VideoTexture/FilterBase.h
+++ b/source/gameengine/VideoTexture/FilterBase.h
@@ -116,6 +116,10 @@ protected:
 		// otherwise return converted pixel
 		return m_previous->m_filter->convert(src, x, y, size, pixSize);
 	}
+
+#ifdef WITH_CXX_GUARDEDALLOC
+	MEM_CXX_CLASS_ALLOC_FUNCS("GE:FilterBase")
+#endif
 };




More information about the Bf-blender-cvs mailing list