mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-01-09 14:45:39 +00:00
Pixel depth defaults to 8
This commit is contained in:
parent
73f4992081
commit
f822c15868
|
@ -59,7 +59,9 @@ namespace PVRTCC {
|
||||||
|
|
||||||
class Pixel {
|
class Pixel {
|
||||||
public:
|
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,
|
explicit Pixel(const uint8 *bits,
|
||||||
const uint8 channelDepth[4] = static_cast<uint8 *>(0),
|
const uint8 channelDepth[4] = static_cast<uint8 *>(0),
|
||||||
|
|
Loading…
Reference in a new issue