diff --git a/tiny_gltf.h b/tiny_gltf.h index 4ce71dd..7e7edb4 100644 --- a/tiny_gltf.h +++ b/tiny_gltf.h @@ -468,7 +468,9 @@ struct Sampler { Value extras; Sampler() - : wrapS(TINYGLTF_TEXTURE_WRAP_REPEAT), + : minFilter(TINYGLTF_TEXTURE_FILTER_LINEAR_MIPMAP_LINEAR), + magFilter(TINYGLTF_TEXTURE_FILTER_LINEAR), + wrapS(TINYGLTF_TEXTURE_WRAP_REPEAT), wrapT(TINYGLTF_TEXTURE_WRAP_REPEAT), wrapR(TINYGLTF_TEXTURE_WRAP_REPEAT){} bool operator==(const Sampler &) const;