Pixel depth defaults to 8

This commit is contained in:
Pavel Krajcevski 2013-08-29 18:34:25 -04:00
parent 73f4992081
commit f822c15868

View file

@ -59,7 +59,9 @@ namespace PVRTCC {
class Pixel {
public:
Pixel(): m_R(0), m_G(0), m_B(0), m_A(0) { }
Pixel(): m_R(0), m_G(0), m_B(0), m_A(0) {
for(int i = 0; i < 4; i++) m_BitDepth[i] = 8;
}
explicit Pixel(const uint8 *bits,
const uint8 channelDepth[4] = static_cast<uint8 *>(0),