diff options
author | Kent Mein <mein@cs.umn.edu> | 2007-06-25 23:50:25 +0400 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2007-06-25 23:50:25 +0400 |
commit | 613646b33e5fde13158a8d8644df8c97bdde2fbb (patch) | |
tree | 9b50512d8f6052e28daa54704e4aff112a4ca102 /source/blender/imbuf/IMB_imbuf_types.h | |
parent | ddc68225c24bc0754d7b81434b06f509d1f0e106 (diff) |
This commit is a modified version of patch #6860
It adds read only dds support. (Writing will come later)
Kent
Diffstat (limited to 'source/blender/imbuf/IMB_imbuf_types.h')
-rw-r--r-- | source/blender/imbuf/IMB_imbuf_types.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/imbuf/IMB_imbuf_types.h b/source/blender/imbuf/IMB_imbuf_types.h index f5487bb9ac0..d43b78df0b6 100644 --- a/source/blender/imbuf/IMB_imbuf_types.h +++ b/source/blender/imbuf/IMB_imbuf_types.h @@ -174,6 +174,10 @@ typedef enum { #define CINEON (1 << 21) #define DPX (1 << 20) +#ifdef WITH_DDS +#define DDS (1 << 19) +#endif + #define RAWTGA (TGA | 1) #define JPG_STD (JPG | (0 << 8)) @@ -216,6 +220,10 @@ typedef enum { #define IS_tiff(x) (x->ftype & TIF) #define IS_radhdr(x) (x->ftype & RADHDR) +#ifdef WITH_DDS +#define IS_dds(x) (x->ftype & DDS) +#endif + #define IMAGIC 0732 #define IS_iris(x) (x->ftype == IMAGIC) |