mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-07-07 22:11:49 +08:00
Build fix.
This commit is contained in:
parent
9e3d1f6db5
commit
a3d5d5d1c9
@ -7541,7 +7541,7 @@ static void WriteBinaryGltfStream(std::ostream &stream,
|
||||
// Chunk data must be located at 4-byte boundary, which may require padding
|
||||
const uint32_t length =
|
||||
12 + 8 + content_size + content_padding_size +
|
||||
(binBuffer_size ? (8 + binBuffer_size + bin_padding_size : 0);
|
||||
(binBuffer_size ? (8 + binBuffer_size + bin_padding_size : 0));
|
||||
|
||||
stream.write(header.c_str(), std::streamsize(header.size()));
|
||||
stream.write(reinterpret_cast<const char *>(&version), sizeof(version));
|
||||
|
Loading…
x
Reference in New Issue
Block a user