summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineOpenGL
diff options
context:
space:
mode:
authorMark Nefedov <mark_nefedov@outlook.com>2020-05-08 15:31:56 +0000
committerMark Nefedov <mark_nefedov@outlook.com>2020-05-08 15:31:56 +0000
commitb82b0a5f247eba5d73d913dbd01a88cde2132368 (patch)
tree30edada0d4542e483f87e553c5b93fb99dc109cd /Graphics/GraphicsEngineOpenGL
parentA part of conditional expression is always true: DebugName != nullptr, becaus... (diff)
downloadDiligentCore-b82b0a5f247eba5d73d913dbd01a88cde2132368.tar.gz
DiligentCore-b82b0a5f247eba5d73d913dbd01a88cde2132368.zip
The 'Key.Hash' variable was assigned the same value.
``` if (Key.Hash == 0){ Key.Hash = 0; } ```
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
-rw-r--r--Graphics/GraphicsEngineOpenGL/src/FBOCache.cpp1
1 files changed, 0 insertions, 1 deletions
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<TextureViewDesc> TexViewDescHasher;
- Key.Hash = 0;
HashCombine(Key.Hash, Key.NumRenderTargets);
for (Uint32 rt = 0; rt < Key.NumRenderTargets; ++rt)
{