summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3D11
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngineD3D11')
-rw-r--r--Graphics/GraphicsEngineD3D11/include/ShaderD3D11Impl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Graphics/GraphicsEngineD3D11/include/ShaderD3D11Impl.h b/Graphics/GraphicsEngineD3D11/include/ShaderD3D11Impl.h
index f6ca3bac..aaaae904 100644
--- a/Graphics/GraphicsEngineD3D11/include/ShaderD3D11Impl.h
+++ b/Graphics/GraphicsEngineD3D11/include/ShaderD3D11Impl.h
@@ -66,9 +66,9 @@ public:
}
/// Implementation of IShader::GetResource() in Direct3D11 backend.
- virtual ShaderResourceDesc GetResource(Uint32 Index) const override final
+ virtual void GetResourceDesc(Uint32 Index, ShaderResourceDesc& ResourceDesc) const override final
{
- return GetHLSLResource(Index);
+ ResourceDesc = GetHLSLResource(Index);
}
/// Implementation of IShaderD3D::GetHLSLResource() method.