forked from bartvdbraak/blender
Only include the header openexr_multi.h when WITH_OPENEXR is defined.
This header defines function stubs for builds without OpenEXR. A quote from openexr_multi.h: /* ugly... but we only use it on pipeline.c, render module, now */ No longer true! Function definitions should never be in header files, I say.
This commit is contained in:
parent
a001501628
commit
5895c903cd
@ -44,7 +44,10 @@
|
|||||||
|
|
||||||
#include "IMB_imbuf_types.h"
|
#include "IMB_imbuf_types.h"
|
||||||
#include "IMB_imbuf.h"
|
#include "IMB_imbuf.h"
|
||||||
|
|
||||||
|
#ifdef WITH_OPENEXR
|
||||||
#include "intern/openexr/openexr_multi.h"
|
#include "intern/openexr/openexr_multi.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "DNA_image_types.h"
|
#include "DNA_image_types.h"
|
||||||
#include "DNA_packedFile_types.h"
|
#include "DNA_packedFile_types.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user