From 2b3eb759e13316e195ff867bcc1b50ec7f3e4c40 Mon Sep 17 00:00:00 2001 From: Mark Nefedov Date: Fri, 8 May 2020 23:30:39 +0300 Subject: Update FBOCache.cpp Reverting change. --- Graphics/GraphicsEngineOpenGL/src/FBOCache.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'Graphics/GraphicsEngineOpenGL') 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 TexViewDescHasher; + Key.Hash = 0; HashCombine(Key.Hash, Key.NumRenderTargets); for (Uint32 rt = 0; rt < Key.NumRenderTargets; ++rt) { -- cgit v1.2.3