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:
authorAntony Riakiotakis <kalast@gmail.com>2013-03-17 22:09:09 +0400
committerAntony Riakiotakis <kalast@gmail.com>2013-03-17 22:09:09 +0400
commite2b2d083e0cd2c738962e2a4535acdfb17f37416 (patch)
tree2de514494df044513cd686f98b9d9c273fc9168b /source/blender/imbuf/IMB_imbuf_types.h
parent66a35e089a64d27bfc09c2225a530069eca05875 (diff)
Fix "can't paint" bug no.1, painting with black on image editor did not
paint. Was own regression when optimizing colour operations. I will not use an alpha bit mask since it may run into portability issues with byte order.
Diffstat (limited to 'source/blender/imbuf/IMB_imbuf_types.h')
-rw-r--r--source/blender/imbuf/IMB_imbuf_types.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/imbuf/IMB_imbuf_types.h b/source/blender/imbuf/IMB_imbuf_types.h
index a3629d079a3..dde8d4d4ab7 100644
--- a/source/blender/imbuf/IMB_imbuf_types.h
+++ b/source/blender/imbuf/IMB_imbuf_types.h
@@ -179,7 +179,6 @@ typedef struct ImBuf {
* Note that the lower 11 bits is used for storing custom flags
*/
#define IB_CUSTOM_FLAGS_MASK 0x7ff
-#define IB_ALPHA_MASK 0xff
#define PNG (1 << 30)
#define TGA (1 << 28)