diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-08-21 15:53:09 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-08-21 15:53:09 +0400 |
commit | 4bcae5fb076cad3a9ca312a6ba881b5645be76e7 (patch) | |
tree | f49c8016f45cfbdf15859832fd3eda41c3711f20 /source/blender/nodes/composite/node_composite_util.c | |
parent | f8db7ccb62cf2dbd26d4b6d9b89d6b3839a2b96a (diff) |
code cleanup: more legacy compo functions ifdef'd
Diffstat (limited to 'source/blender/nodes/composite/node_composite_util.c')
-rw-r--r-- | source/blender/nodes/composite/node_composite_util.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/nodes/composite/node_composite_util.c b/source/blender/nodes/composite/node_composite_util.c index 1b9ff610e4c..b44454f38d9 100644 --- a/source/blender/nodes/composite/node_composite_util.c +++ b/source/blender/nodes/composite/node_composite_util.c @@ -29,9 +29,10 @@ * \ingroup nodes */ - #include "node_composite_util.h" +#ifdef WITH_COMPOSITOR_LEGACY + #include <limits.h> CompBuf *alloc_compbuf(int sizex, int sizey, int type, int alloc) @@ -1405,3 +1406,4 @@ void IIR_gauss(CompBuf* src, float sigma, int chan, int xy) #undef YVV } +#endif /* WITH_COMPOSITOR_LEGACY */ |