BufferView ctor now uses correct members order.

tiny_gltf.h line 815 
(Moved target(0) to second to last)
This commit is contained in:
Dado 2020-01-07 14:41:12 +00:00 committed by GitHub
parent 4e47bc7799
commit 379bb612f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -812,7 +812,7 @@ struct BufferView {
bool dracoDecoded{false}; // Flag indicating this has been draco decoded
BufferView() : buffer(-1), target(0), byteOffset(0), byteLength(0), byteStride(0), dracoDecoded(false) {}
BufferView() : buffer(-1), byteOffset(0), byteLength(0), byteStride(0), target(0), dracoDecoded(false) {}
DEFAULT_METHODS(BufferView)
bool operator==(const BufferView &) const;
};