Remove sampler.wrapR parameter(unused tinygltf extension). Fixes #287

Suppress clang `-Wdocumentation-unknown-command` warning.
This commit is contained in:
Syoyo Fujita
2020-12-04 00:50:46 +09:00
parent a159945db9
commit 2c521b3432
2 changed files with 11 additions and 11 deletions

View File

@@ -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);
}
}
}