Fix uninitialized m_compressed_data
This commit is contained in:
parent
57c5446e55
commit
514e3a50ad
@ -84,6 +84,7 @@ GECompressorASTC4x4::GECompressorASTC4x4(uint8_t* texture, unsigned channels,
|
||||
bool normal_map)
|
||||
: GEMipmapGenerator(texture, channels, size, normal_map)
|
||||
{
|
||||
m_compressed_data = NULL;
|
||||
#ifdef ENABLE_LIBASTCENC
|
||||
assert(channels == 4);
|
||||
size_t total_size = 0;
|
||||
|
@ -26,6 +26,7 @@ GECompressorBPTCBC7::GECompressorBPTCBC7(uint8_t* texture, unsigned channels,
|
||||
bool normal_map)
|
||||
: GEMipmapGenerator(texture, channels, size, normal_map)
|
||||
{
|
||||
m_compressed_data = NULL;
|
||||
#ifdef BC7_ISPC
|
||||
assert(channels == 4);
|
||||
size_t total_size = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user