diff options
author | Kent Mein <mein@cs.umn.edu> | 2008-03-28 17:44:31 +0300 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2008-03-28 17:44:31 +0300 |
commit | 35db540b49abb18f17d9d4c4cf9cbfdeba9ec273 (patch) | |
tree | 3f1eb9443cae8c324756acbe9177fa183fe45810 /source/blender/imbuf/intern/dds/ColorBlock.h | |
parent | d32ec4297d92e1eecdc3288b6c7f9630f98e8828 (diff) |
This is patches:
[#8578] imbuf for DDS textures: minor bugs fixed
(syncing with upstream nvidia texture tools)
[#8727] imbuf for DDS textures: fix for DXT5 alpha channel corruption
Submitted by our DDS person, Amorilia
Kent
Diffstat (limited to 'source/blender/imbuf/intern/dds/ColorBlock.h')
-rw-r--r-- | source/blender/imbuf/intern/dds/ColorBlock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/dds/ColorBlock.h b/source/blender/imbuf/intern/dds/ColorBlock.h index 72049be5f3c..1feaed4d659 100644 --- a/source/blender/imbuf/intern/dds/ColorBlock.h +++ b/source/blender/imbuf/intern/dds/ColorBlock.h @@ -53,6 +53,7 @@ struct ColorBlock void splatX(); void splatY(); + bool isSingleColor() const; uint countUniqueColors() const; Color32 averageColor() const; bool hasAlpha() const; @@ -61,7 +62,6 @@ struct ColorBlock void luminanceRange(Color32 * start, Color32 * end) const; void boundsRange(Color32 * start, Color32 * end) const; void boundsRangeAlpha(Color32 * start, Color32 * end) const; - void bestFitRange(Color32 * start, Color32 * end) const; void sortColorsByAbsoluteValue(); |