diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-05-13 08:53:20 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-05-13 08:53:20 +0400 |
commit | 91bddf2b13c61644d60ce909123068609769fbf0 (patch) | |
tree | 2fd6ae31c0dca8ee8f8ffb22967829bf67391696 /source/blender/imbuf/IMB_imbuf_types.h | |
parent | b73fe01295636aea92bf3076874b5e3cbcba9057 (diff) |
remove imbuf crect and profile_filename when building without LCMS
Diffstat (limited to 'source/blender/imbuf/IMB_imbuf_types.h')
-rw-r--r-- | source/blender/imbuf/IMB_imbuf_types.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/imbuf/IMB_imbuf_types.h b/source/blender/imbuf/IMB_imbuf_types.h index 81512adf065..52afe2ed854 100644 --- a/source/blender/imbuf/IMB_imbuf_types.h +++ b/source/blender/imbuf/IMB_imbuf_types.h @@ -84,11 +84,15 @@ typedef struct ImBuf { /* pixels */ unsigned int *rect; /* pixel values stored here */ - unsigned int *crect; /* color corrected pixel values stored here */ float *rect_float; /* floating point Rect equivalent Linear RGB color space - may need gamma correction to sRGB when generating 8bit representations */ - + +#ifdef WITH_LCMS + unsigned int *crect; /* color corrected pixel values stored here */ + char profile_filename[256]; /* to be implemented properly, specific filename for custom profiles */ +#endif + /* tiled pixel storage */ int tilex, tiley; int xtiles, ytiles; @@ -101,7 +105,6 @@ typedef struct ImBuf { /* parameters used by conversion between byte and float */ float dither; /* random dither value, for conversion from float -> byte rect */ short profile; /* color space/profile preset that the byte rect buffer represents */ - char profile_filename[256]; /* to be implemented properly, specific filename for custom profiles */ /* mipmapping */ struct ImBuf *mipmap[IB_MIPMAP_LEVELS]; /* MipMap levels, a series of halved images */ |