Skip to content

Commit afffd0b

Browse files
GLTF Loader: do not set sampler in the texture SRV
1 parent 2b479b0 commit afffd0b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

AssetLoader/src/GLTFLoader.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -830,8 +830,6 @@ Uint32 Model::AddTexture(IRenderDevice* pDevice,
830830
TexDesc.MiscFlags = MISC_TEXTURE_FLAG_GENERATE_MIPS;
831831

832832
pDevice->CreateTexture(TexDesc, nullptr, &TexInfo.pTexture);
833-
TexInfo.pTexture->GetDefaultView(TEXTURE_VIEW_SHADER_RESOURCE)->SetSampler(pSampler);
834-
835833
TexInfo.pTexture->SetUserData(pTexInitData);
836834
}
837835
}

0 commit comments

Comments
 (0)