mirror of
https://github.com/bkaradzic/bimg.git
synced 2026-10-31 04:55:41 +00:00
Fixed assert macros, and improved error handling.
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ namespace bimg
|
||||
bx::MemoryReader reader(_src, _size);
|
||||
|
||||
uint32_t magic;
|
||||
bx::read(&reader, magic);
|
||||
bx::read(&reader, magic, bx::ErrorIgnore{});
|
||||
|
||||
ImageContainer imageContainer;
|
||||
if (BIMG_CHUNK_MAGIC_GNF != magic
|
||||
|
||||
Reference in New Issue
Block a user