Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-03-25 01:08:29 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-03-25 01:08:29 +0300
commit72ede30d0f970fe7d6774ce0851e3aacc82e23d8 (patch)
tree67116106c9b27f1f6b00eff373004691c1e8f086 /source/blender/imbuf/IMB_imbuf.h
parenta38313c3bdf1a250fb7dc93fefd8f89e81965a1e (diff)
Cleanup: pass const image data to IMB_ibImageFromMemory
Diffstat (limited to 'source/blender/imbuf/IMB_imbuf.h')
-rw-r--r--source/blender/imbuf/IMB_imbuf.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/imbuf/IMB_imbuf.h b/source/blender/imbuf/IMB_imbuf.h
index 81050841550..03d07844ec8 100644
--- a/source/blender/imbuf/IMB_imbuf.h
+++ b/source/blender/imbuf/IMB_imbuf.h
@@ -95,7 +95,9 @@ void IMB_exit(void);
*
* \attention Defined in readimage.c
*/
-struct ImBuf *IMB_ibImageFromMemory(unsigned char *mem, size_t size, int flags, char colorspace[IM_MAX_SPACE], const char *descr);
+struct ImBuf *IMB_ibImageFromMemory(
+ const unsigned char *mem, size_t size, int flags,
+ char colorspace[IM_MAX_SPACE], const char *descr);
/**
*