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:
Pavel Krajcevski 2013-09-29 14:32:59 -04:00
parent a2390189f8
commit 63a235958d

View file

@ -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)
{ {