summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3D12
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngineD3D12')
-rw-r--r--Graphics/GraphicsEngineD3D12/include/ShaderVariableD3D12.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Graphics/GraphicsEngineD3D12/include/ShaderVariableD3D12.h b/Graphics/GraphicsEngineD3D12/include/ShaderVariableD3D12.h
index b19b98cf..f7a1f8c8 100644
--- a/Graphics/GraphicsEngineD3D12/include/ShaderVariableD3D12.h
+++ b/Graphics/GraphicsEngineD3D12/include/ShaderVariableD3D12.h
@@ -187,9 +187,9 @@ public:
m_Resource.BindResource(ppObjects[Elem], FirstElement + Elem, m_ParentManager.m_ResourceCache);
}
- virtual ShaderResourceDesc GetResourceDesc() const override final
+ virtual void GetResourceDesc(ShaderResourceDesc& ResourceDesc) const override final
{
- return GetHLSLResourceDesc();
+ ResourceDesc = GetHLSLResourceDesc();
}
virtual HLSLShaderResourceDesc GetHLSLResourceDesc() const override final