diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-09-24 17:48:37 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-09-24 17:48:37 +0400 |
commit | 2953b6ab5c757a3fa084b8e53894682e2c585856 (patch) | |
tree | 2cb3b56407204e3f977b0ac66435077fe92a61eb /source/blender/imbuf/intern/IMB_colormanagement_intern.h | |
parent | c12d16cf4bf21964fb2e50e9334416d571b8ca3a (diff) |
Fix #32644: ctrl+F11 internal animation player crash
Crash was caused by missed color management initialization -- it was
happening too late.
Move it to generic ImBuf init/exit functions, so now color management
is properly initializing when animation player is launched.
Diffstat (limited to 'source/blender/imbuf/intern/IMB_colormanagement_intern.h')
-rw-r--r-- | source/blender/imbuf/intern/IMB_colormanagement_intern.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/IMB_colormanagement_intern.h b/source/blender/imbuf/intern/IMB_colormanagement_intern.h index 059bdee00eb..648dd735bbe 100644 --- a/source/blender/imbuf/intern/IMB_colormanagement_intern.h +++ b/source/blender/imbuf/intern/IMB_colormanagement_intern.h @@ -67,6 +67,11 @@ typedef struct ColorManagedView { char name[64]; } ColorManagedView; +/* ** Initialization / De-initialization ** */ + +void colormanagement_init(void); +void colormanagement_exit(void); + void colormanage_cache_free(struct ImBuf *ibuf); struct ColorManagedDisplay *colormanage_display_get_default(void); |