From 6866e442b789df5c15693c2d38ae6abc740c5bd2 Mon Sep 17 00:00:00 2001 From: assiduous Date: Sat, 25 Jan 2020 22:31:42 -0800 Subject: Reworked IShader::GetResource to be compatible with C; renamed the method to GetResourceDesc --- Graphics/GraphicsEngineMetal/include/ShaderMtlImpl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngineMetal') diff --git a/Graphics/GraphicsEngineMetal/include/ShaderMtlImpl.h b/Graphics/GraphicsEngineMetal/include/ShaderMtlImpl.h index 2120b59b..245799e3 100644 --- a/Graphics/GraphicsEngineMetal/include/ShaderMtlImpl.h +++ b/Graphics/GraphicsEngineMetal/include/ShaderMtlImpl.h @@ -55,7 +55,7 @@ public: return 0; } - virtual ShaderResourceDesc GetResource(Uint32 Index) const override final + virtual void GetResourceDesc(Uint32 Index, ShaderResourceDesc& ResourceDesc) const override final { LOG_ERROR_MESSAGE("ShaderMtlImpl::GetResource() is not implemented"); return ShaderResourceDesc{}; -- cgit v1.2.3