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>2012-11-18 05:22:31 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-11-18 05:22:31 +0400
commitb867f9f17eb1af2051749190aa6aee708972af82 (patch)
tree95b1ba6bb8a7584823caa7e4943ee0ee4c1d4b48 /source/blender/imbuf
parent8b57f7502bb748a3acd01858c393cdac5675fcf0 (diff)
style cleanup: comments & spelling
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r--source/blender/imbuf/intern/cineon/dpxlib.c2
-rw-r--r--source/blender/imbuf/intern/dds/BlockDXT.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/imbuf/intern/cineon/dpxlib.c b/source/blender/imbuf/intern/cineon/dpxlib.c
index aedce52a7bf..4c9b5e620dd 100644
--- a/source/blender/imbuf/intern/cineon/dpxlib.c
+++ b/source/blender/imbuf/intern/cineon/dpxlib.c
@@ -457,7 +457,7 @@ LogImageFile *dpxCreate(const char *filename, int width, int height, int bitsPer
}
/* Header should be rounded to next 8k block
- 6044 = 8092 - sizeof(DpxMainHeader) */
+ * 6044 = 8092 - sizeof(DpxMainHeader) */
memset(&pad, 0, 6044);
if (fwrite(&pad, 6044, 1, dpx->file) == 0) {
if (verbose) printf("DPX: Couldn't write image header\n");
diff --git a/source/blender/imbuf/intern/dds/BlockDXT.h b/source/blender/imbuf/intern/dds/BlockDXT.h
index 0291816cd03..7e5a1e504b8 100644
--- a/source/blender/imbuf/intern/dds/BlockDXT.h
+++ b/source/blender/imbuf/intern/dds/BlockDXT.h
@@ -147,7 +147,7 @@ struct BlockDXT3
struct AlphaBlockDXT5
{
// uint64 unions do not compile on all platforms
- /*
+#if 0
union {
struct {
uint64 alpha0 : 8; // 8
@@ -171,7 +171,7 @@ struct AlphaBlockDXT5
};
uint64 u;
};
- */
+#endif
uint64 u;
uint8 alpha0() const { return u & 0xffLL; }
uint8 alpha1() const { return (u >> 8) & 0xffLL; }