mirror of
https://github.com/syoyo/tinygltf.git
synced 2026-06-08 03:03:50 +00:00
Remove sampler.wrapR parameter(unused tinygltf extension). Fixes #287
Suppress clang `-Wdocumentation-unknown-command` warning.
This commit is contained in:
@@ -610,7 +610,7 @@ void Viewer::buildSamplerDescs() {
|
||||
|
||||
samplerDesc.AddressU = toTextureAddressMode(glTFSampler.wrapS);
|
||||
samplerDesc.AddressV = toTextureAddressMode(glTFSampler.wrapT);
|
||||
samplerDesc.AddressW = toTextureAddressMode(glTFSampler.wrapR);
|
||||
samplerDesc.AddressW = D3D12_TEXTURE_ADDRESS_MODE_WRAP;
|
||||
samplerDesc.MaxLOD = 256;
|
||||
|
||||
samplerDescs_.push_back(samplerDesc);
|
||||
@@ -1289,4 +1289,4 @@ void Viewer::drawNode(uint64_t nodeIndex) {
|
||||
for (auto childNodeIndex : glTFNode.children) {
|
||||
drawNode(childNodeIndex);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user