mirror of
https://github.com/syoyo/tinygltf.git
synced 2026-09-24 19:25:14 +00:00
Set a default for sampler.wrapR, because it was serializing an uninitialized value
This commit is contained in:
@@ -455,7 +455,8 @@ struct Sampler {
|
||||
|
||||
Sampler()
|
||||
: wrapS(TINYGLTF_TEXTURE_WRAP_REPEAT),
|
||||
wrapT(TINYGLTF_TEXTURE_WRAP_REPEAT) {}
|
||||
wrapT(TINYGLTF_TEXTURE_WRAP_REPEAT),
|
||||
wrapR(TINYGLTF_TEXTURE_WRAP_REPEAT){}
|
||||
bool operator==(const Sampler &) const;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user