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:
authorSergey Sharybin <sergey.vfx@gmail.com>2013-02-07 11:24:02 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2013-02-07 11:24:02 +0400
commitd648e036199ebb95fdc88945fe15144db302c121 (patch)
tree66972c2ebeb8dcbb5ade1bea4a00a29783188f81 /source/blender/imbuf/IMB_imbuf_types.h
parent8d47c2a2086251cc329f7d11ca4b102022e225da (diff)
Fix #34145: 'Save Image' incorrect file type.
Own mistake in 16bit PNG support, wrong bitmask for custom flags ftype really needs cleanup..
Diffstat (limited to 'source/blender/imbuf/IMB_imbuf_types.h')
-rw-r--r--source/blender/imbuf/IMB_imbuf_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/IMB_imbuf_types.h b/source/blender/imbuf/IMB_imbuf_types.h
index 49e2e7fc80d..e30f1618c81 100644
--- a/source/blender/imbuf/IMB_imbuf_types.h
+++ b/source/blender/imbuf/IMB_imbuf_types.h
@@ -175,7 +175,7 @@ typedef struct ImBuf {
* The bit flag is stored in the ImBuf.ftype variable.
* Note that the lower 11 bits is used for storing custom flags
*/
-#define IB_CUSTOM_FLAGS_MASK 0x400
+#define IB_CUSTOM_FLAGS_MASK 0x7ff
#define PNG (1 << 30)
#define TGA (1 << 28)