From 6516b0eb0246e3900756ca94b560bd9f3a9cce28 Mon Sep 17 00:00:00 2001 From: Siavash Eliasi Date: Mon, 17 Jun 2019 21:30:57 +0430 Subject: [PATCH] tpyo --- src/d3d12.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d3d12.cpp b/src/d3d12.cpp index 38d353e..f4b7ad7 100644 --- a/src/d3d12.cpp +++ b/src/d3d12.cpp @@ -183,7 +183,7 @@ void Renderer::setup() defaultSamplerDesc.ShaderVisibility = D3D12_SHADER_VISIBILITY_PIXEL; CD3DX12_STATIC_SAMPLER_DESC computeSamplerDesc{0, D3D12_FILTER_MIN_MAG_MIP_LINEAR}; - defaultSamplerDesc.ShaderVisibility = D3D12_SHADER_VISIBILITY_PIXEL; + computeSamplerDesc.ShaderVisibility = D3D12_SHADER_VISIBILITY_PIXEL; CD3DX12_STATIC_SAMPLER_DESC spBRDF_SamplerDesc{1, D3D12_FILTER_MIN_MAG_MIP_LINEAR}; spBRDF_SamplerDesc.AddressU = D3D12_TEXTURE_ADDRESS_MODE_CLAMP;