mirror of
https://github.com/syoyo/tinygltf.git
synced 2026-09-03 17:08:39 +00:00
BufferView ctor now uses correct members order.
tiny_gltf.h line 815 (Moved target(0) to second to last)
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user