summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-01-31 16:21:39 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-01-31 16:21:39 +0000
commit39df94a7ea93456e06d97f0efbca1c5d210b0f0d (patch)
treef211fdffffc34fa35bb7ecbaad85a78f704e78f5 /Graphics/GraphicsEngine
parentUpdated SPIRV-Tools module (fixes https://github.com/DiligentGraphics/Diligen... (diff)
downloadDiligentCore-39df94a7ea93456e06d97f0efbca1c5d210b0f0d.tar.gz
DiligentCore-39df94a7ea93456e06d97f0efbca1c5d210b0f0d.zip
Updated HashMapStringKey to define Hasher in the struct rather than in std
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/include/ResourceMappingImpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngine/include/ResourceMappingImpl.h b/Graphics/GraphicsEngine/include/ResourceMappingImpl.h
index 493ef596..ae0b4734 100644
--- a/Graphics/GraphicsEngine/include/ResourceMappingImpl.h
+++ b/Graphics/GraphicsEngine/include/ResourceMappingImpl.h
@@ -56,7 +56,7 @@ namespace Diligent
{
if( Hash == 0 )
{
- Hash = ComputeHash( StrKey, ArrayIndex );
+ Hash = ComputeHash( StrKey.GetHash(), ArrayIndex );
}
return Hash;