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:
authorStefan Gartner <stefang@aon.at>2003-06-06 15:55:16 +0400
committerStefan Gartner <stefang@aon.at>2003-06-06 15:55:16 +0400
commitb499fac975115444e18bcaa3ac6ec5a82592ffaa (patch)
tree387e4387ef989bcb7174db6d5d4e2468dc3d4061 /source/blender/imbuf/IMB_imbuf_types.h
parent3942b12185bddb1c48831f2b6e3984b9ea80b515 (diff)
readded IS_jpg() macro
Diffstat (limited to 'source/blender/imbuf/IMB_imbuf_types.h')
-rw-r--r--source/blender/imbuf/IMB_imbuf_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/imbuf/IMB_imbuf_types.h b/source/blender/imbuf/IMB_imbuf_types.h
index c207893575c..bff0665aa71 100644
--- a/source/blender/imbuf/IMB_imbuf_types.h
+++ b/source/blender/imbuf/IMB_imbuf_types.h
@@ -192,6 +192,7 @@ typedef enum {
#define IMAGIC 0732
#define IS_iris(x) (x->ftype == IMAGIC)
+#define IS_jpg(x) (x->ftype & JPG)
#define IS_stdjpg(x) ((x->ftype & JPG_MSK) == JPG_STD)
#define IS_vidjpg(x) ((x->ftype & JPG_MSK) == JPG_VID)
#define IS_jstjpg(x) ((x->ftype & JPG_MSK) == JPG_JST)