diff options
Diffstat (limited to 'source/blender/freestyle/intern/stroke/StrokeRenderer.h')
-rw-r--r-- | source/blender/freestyle/intern/stroke/StrokeRenderer.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/stroke/StrokeRenderer.h b/source/blender/freestyle/intern/stroke/StrokeRenderer.h index 5ee1eaf17eb..e38b7107efd 100644 --- a/source/blender/freestyle/intern/stroke/StrokeRenderer.h +++ b/source/blender/freestyle/intern/stroke/StrokeRenderer.h @@ -38,6 +38,10 @@ #include "../system/FreestyleConfig.h" +#ifdef WITH_CXX_GUARDEDALLOC +#include "MEM_guardedalloc.h" +#endif + namespace Freestyle { /**********************************/ @@ -107,6 +111,11 @@ protected: static string _patterns_path; static string _brushes_path; unsigned int _defaultTextureId; + +#ifdef WITH_CXX_GUARDEDALLOC +public: + MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:TextureManager") +#endif }; @@ -135,6 +144,10 @@ public: //static unsigned int getTextureIndex(unsigned int index); static TextureManager *_textureManager; + +#ifdef WITH_CXX_GUARDEDALLOC + MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:StrokeRenderer") +#endif }; } /* namespace Freestyle */ |