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:
Richard Geldreich
2025-11-06 13:19:40 -05:00
parent b1110111d4
commit 196db8cbe2
11 changed files with 77 additions and 57 deletions
+1 -1
View File
@@ -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)
{