[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [51622] trunk/blender/source/blender/imbuf /intern/dds/FlipDXT.cpp: Fix for strict compiler setup
Sergey Sharybin
sergey.vfx at gmail.com
Thu Oct 25 15:12:37 CEST 2012
Revision: 51622
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=51622
Author: nazgul
Date: 2012-10-25 13:12:37 +0000 (Thu, 25 Oct 2012)
Log Message:
-----------
Fix for strict compiler setup
Modified Paths:
--------------
trunk/blender/source/blender/imbuf/intern/dds/FlipDXT.cpp
Modified: trunk/blender/source/blender/imbuf/intern/dds/FlipDXT.cpp
===================================================================
--- trunk/blender/source/blender/imbuf/intern/dds/FlipDXT.cpp 2012-10-25 13:08:47 UTC (rev 51621)
+++ trunk/blender/source/blender/imbuf/intern/dds/FlipDXT.cpp 2012-10-25 13:12:37 UTC (rev 51622)
@@ -176,7 +176,7 @@
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;
More information about the Bf-blender-cvs
mailing list