diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-01-31 16:21:39 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-01-31 16:21:39 +0000 |
| commit | 39df94a7ea93456e06d97f0efbca1c5d210b0f0d (patch) | |
| tree | f211fdffffc34fa35bb7ecbaad85a78f704e78f5 /Graphics/GraphicsEngine | |
| parent | Updated SPIRV-Tools module (fixes https://github.com/DiligentGraphics/Diligen... (diff) | |
| download | DiligentCore-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.h | 2 |
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; |
