From 08ee98fe0b8e3692413d6a743e4080cc4cd40854 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Thu, 26 Apr 2018 09:06:50 -0700 Subject: Fixed bug with clonning d3d shader resources --- Graphics/GraphicsEngineD3DBase/src/ShaderResources.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngineD3DBase') diff --git a/Graphics/GraphicsEngineD3DBase/src/ShaderResources.cpp b/Graphics/GraphicsEngineD3DBase/src/ShaderResources.cpp index c3cce6aa..1df20b18 100644 --- a/Graphics/GraphicsEngineD3DBase/src/ShaderResources.cpp +++ b/Graphics/GraphicsEngineD3DBase/src/ShaderResources.cpp @@ -167,7 +167,7 @@ ShaderResources::ShaderResources(IMemoryAllocator &Allocator, #pragma warning(pop) Uint32 CurrCB = 0, CurrTexSRV = 0, CurrTexUAV = 0, CurrBufSRV = 0, CurrBufUAV = 0, CurrSampler = 0; - ProcessResources( + SrcResources.ProcessResources( AllowedVarTypes, NumAllowedTypes, [&](const D3DShaderResourceAttribs &CB, Uint32) -- cgit v1.2.3