Closed zpl-zak closed 8 months ago
Hi,
the following line has to be modified so that both flags can be checked against, otherwise, the parser fails assertion at size_read == chunk_read. This is because in Aseprite (v1.2.40 as of writing) the slice can have both enabled, whereas the code picks one exclusively: https://github.com/RandyGaul/cute_headers/blob/613c97861b99cbb59530d39e4ac49a74594f7fbf/cute_aseprite.h#L1179
size_read == chunk_read
Could you submit a PR?
Hi,
the following line has to be modified so that both flags can be checked against, otherwise, the parser fails assertion at
size_read == chunk_read
. This is because in Aseprite (v1.2.40 as of writing) the slice can have both enabled, whereas the code picks one exclusively: https://github.com/RandyGaul/cute_headers/blob/613c97861b99cbb59530d39e4ac49a74594f7fbf/cute_aseprite.h#L1179