diff options
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
| -rw-r--r-- | Graphics/GraphicsEngineOpenGL/src/FBOCache.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/src/FBOCache.cpp b/Graphics/GraphicsEngineOpenGL/src/FBOCache.cpp index 5fe2af2c..5d18a955 100644 --- a/Graphics/GraphicsEngineOpenGL/src/FBOCache.cpp +++ b/Graphics/GraphicsEngineOpenGL/src/FBOCache.cpp @@ -67,6 +67,7 @@ std::size_t FBOCache::FBOCacheKeyHashFunc::operator()(const FBOCacheKey& Key) co if (Key.Hash == 0) { std::hash<TextureViewDesc> TexViewDescHasher; + Key.Hash = 0; HashCombine(Key.Hash, Key.NumRenderTargets); for (Uint32 rt = 0; rt < Key.NumRenderTargets; ++rt) { |
