mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-01-23 21:31:03 +00:00
When creating a compressed image from data make sure to set the block stream order based upon the format that you're compressing to. Yet more of this bug....
This commit is contained in:
parent
a2390189f8
commit
63a235958d
|
@ -69,7 +69,7 @@ CompressedImage::CompressedImage(
|
||||||
const ECompressionFormat format,
|
const ECompressionFormat format,
|
||||||
const unsigned char *data
|
const unsigned char *data
|
||||||
)
|
)
|
||||||
: Image(width, height, NULL)
|
: Image(width, height, NULL, format != eCompressionFormat_PVRTC)
|
||||||
, m_Format(format)
|
, m_Format(format)
|
||||||
, m_RGBAData(0)
|
, m_RGBAData(0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue