diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-10-24 14:43:42 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-10-24 14:43:42 +0000 |
| commit | 994d13e47b9a589ccc78b2a0ecec077ea274613d (patch) | |
| tree | 296da651f620f6fa4fd2b22a9ce788c4449af6ec /Graphics/GraphicsEngineVulkan | |
| parent | Fixed build issues (diff) | |
| download | DiligentCore-994d13e47b9a589ccc78b2a0ecec077ea274613d.tar.gz DiligentCore-994d13e47b9a589ccc78b2a0ecec077ea274613d.zip | |
Another attempt to fix gcc/clang build
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
| -rw-r--r-- | Graphics/GraphicsEngineVulkan/src/ShaderResourceLayoutVk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineVulkan/src/ShaderResourceLayoutVk.cpp b/Graphics/GraphicsEngineVulkan/src/ShaderResourceLayoutVk.cpp index 95f86bcc..0bf676ba 100644 --- a/Graphics/GraphicsEngineVulkan/src/ShaderResourceLayoutVk.cpp +++ b/Graphics/GraphicsEngineVulkan/src/ShaderResourceLayoutVk.cpp @@ -586,7 +586,7 @@ bool ShaderResourceLayoutVk::VkResource::UpdateCachedResource(ShaderResourceCach return false; } - PreUpdateObject(DstRes.pObject.RawPtr<ObjectType>(), pObject.RawPtr<ObjectType>()); + PreUpdateObject(DstRes.pObject.template RawPtr<const ObjectType>(), pObject.template RawPtr<const ObjectType>()); DstRes.pObject.Attach(pObject.Detach()); return true; } |
