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:
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/imbuf/intern/dds/FlipDXT.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/dds/FlipDXT.cpp b/source/blender/imbuf/intern/dds/FlipDXT.cpp
index 3131159a0be..1a577c4dafb 100644
--- a/source/blender/imbuf/intern/dds/FlipDXT.cpp
+++ b/source/blender/imbuf/intern/dds/FlipDXT.cpp
@@ -176,7 +176,7 @@ int FlipDXTCImage(unsigned int width, unsigned int height, unsigned int levels,
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;