diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-10-30 16:18:45 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-10-30 16:18:45 +0400 |
commit | c8975c437597fbb9cabf0a117bc9f571bd17021f (patch) | |
tree | f523cc9dc4aa0bdcc17daed407ade139c50d8559 /source/blender/imbuf | |
parent | 8a658d40508fd192fe463e0b82c2a813a6d22d31 (diff) |
style cleanup
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r-- | source/blender/imbuf/intern/dds/FlipDXT.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/imbuf/intern/dds/FlipDXT.cpp b/source/blender/imbuf/intern/dds/FlipDXT.cpp index 1a577c4dafb..ee7a0ebb2f7 100644 --- a/source/blender/imbuf/intern/dds/FlipDXT.cpp +++ b/source/blender/imbuf/intern/dds/FlipDXT.cpp @@ -173,10 +173,10 @@ static void FlipDXT5BlockHalf(uint8_t *block) int FlipDXTCImage(unsigned int width, unsigned int height, unsigned int levels, int fourcc, uint8_t *data) { // must have valid dimensions - if(width == 0 || height == 0) + if (width == 0 || height == 0) return 0; // height must be a power-of-two - if((height & (height - 1)) != 0) + if ((height & (height - 1)) != 0) return 0; FlipBlockFunction full_block_function; |