mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-10-28 19:55:30 +00:00
Merging as much of PR #408 as we safely can.
PR 408's cmakelists.txt file has too many issues (OpenCL breaks on Windows/OSX) and changing our options to have the "BASISU_" prefix will break upstream builds.
This commit is contained in:
@@ -609,7 +609,7 @@ int png_decoder::fetch_next_chunk_data(uint8_t* buf, int bytes)
|
||||
#endif
|
||||
|
||||
if (check_crc32)
|
||||
m_chunk_crc32 = buminiz::mz_crc32(m_chunk_crc32, buf, bytes);
|
||||
m_chunk_crc32 = static_cast<uint32_t>(buminiz::mz_crc32(m_chunk_crc32, buf, bytes));
|
||||
|
||||
if ((m_chunk_left -= bytes) == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user