diff options
Diffstat (limited to 'source/blender/imbuf/intern/dds/ColorBlock.cpp')
-rw-r--r-- | source/blender/imbuf/intern/dds/ColorBlock.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/dds/ColorBlock.cpp b/source/blender/imbuf/intern/dds/ColorBlock.cpp index 581d740c97c..1ca584e9b0e 100644 --- a/source/blender/imbuf/intern/dds/ColorBlock.cpp +++ b/source/blender/imbuf/intern/dds/ColorBlock.cpp @@ -180,8 +180,9 @@ bool ColorBlock::isSingleColorNoAlpha() const Color32 c; int i; for (i = 0; i < 16; i++) { - if (m_color[i].a != 0) + if (m_color[i].a != 0) { c = m_color[i]; + } } Color32 mask(0xFF, 0xFF, 0xFF, 0x00); |