mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-08-16 04:16:01 +08: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:
parent
4e47bc7799
commit
379bb612f1
@ -812,7 +812,7 @@ struct BufferView {
|
|||||||
|
|
||||||
bool dracoDecoded{false}; // Flag indicating this has been draco decoded
|
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)
|
DEFAULT_METHODS(BufferView)
|
||||||
bool operator==(const BufferView &) const;
|
bool operator==(const BufferView &) const;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user