From b82b0a5f247eba5d73d913dbd01a88cde2132368 Mon Sep 17 00:00:00 2001 From: Mark Nefedov Date: Fri, 8 May 2020 18:31:56 +0300 Subject: The 'Key.Hash' variable was assigned the same value. ``` if (Key.Hash == 0){ Key.Hash = 0; } ``` --- Graphics/GraphicsEngineOpenGL/src/FBOCache.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'Graphics/GraphicsEngineOpenGL') diff --git a/Graphics/GraphicsEngineOpenGL/src/FBOCache.cpp b/Graphics/GraphicsEngineOpenGL/src/FBOCache.cpp index 5d18a955..5fe2af2c 100644 --- a/Graphics/GraphicsEngineOpenGL/src/FBOCache.cpp +++ b/Graphics/GraphicsEngineOpenGL/src/FBOCache.cpp @@ -67,7 +67,6 @@ 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