From 379bb612f118e33f1a61ab3fed93ff9848866647 Mon Sep 17 00:00:00 2001 From: Dado Date: Tue, 7 Jan 2020 14:41:12 +0000 Subject: [PATCH] BufferView ctor now uses correct members order. tiny_gltf.h line 815 (Moved target(0) to second to last) --- tiny_gltf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiny_gltf.h b/tiny_gltf.h index 80a0bd2..2027e23 100644 --- a/tiny_gltf.h +++ b/tiny_gltf.h @@ -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; };