diff options
Diffstat (limited to 'source/blender/imbuf/intern/IMB_colormanagement_intern.h')
-rw-r--r-- | source/blender/imbuf/intern/IMB_colormanagement_intern.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/source/blender/imbuf/intern/IMB_colormanagement_intern.h b/source/blender/imbuf/intern/IMB_colormanagement_intern.h index e2a8e1e3442..c372e125a66 100644 --- a/source/blender/imbuf/intern/IMB_colormanagement_intern.h +++ b/source/blender/imbuf/intern/IMB_colormanagement_intern.h @@ -36,11 +36,14 @@ struct OCIO_ConstProcessorRcPtr; struct ImBuf; +#define MAX_COLORSPACE_NAME 64 +#define MAX_COLORSPACE_DESCRIPTION 512 + typedef struct ColorSpace { struct ColorSpace *next, *prev; int index; - char name[64]; - char description[64]; + char name[MAX_COLORSPACE_NAME]; + char description[MAX_COLORSPACE_DESCRIPTION]; struct OCIO_ConstProcessorRcPtr *to_scene_linear; struct OCIO_ConstProcessorRcPtr *from_scene_linear; @@ -52,7 +55,7 @@ typedef struct ColorSpace { typedef struct ColorManagedDisplay { struct ColorManagedDisplay *next, *prev; int index; - char name[64]; + char name[MAX_COLORSPACE_NAME]; ListBase views; struct OCIO_ConstProcessorRcPtr *to_scene_linear; @@ -62,7 +65,7 @@ typedef struct ColorManagedDisplay { typedef struct ColorManagedView { struct ColorManagedView *next, *prev; int index; - char name[64]; + char name[MAX_COLORSPACE_NAME]; } ColorManagedView; /* ** Initialization / De-initialization ** */ |