mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-08-15 22:15:53 +08:00
Set a default for sampler.wrapR, because it was serializing an uninitialized value
This commit is contained in:
parent
27aab61d62
commit
5892d3e3ea
@ -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;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user