diff options
| author | Mark Nefedov <mark_nefedov@outlook.com> | 2020-05-08 15:31:56 +0000 |
|---|---|---|
| committer | Mark Nefedov <mark_nefedov@outlook.com> | 2020-05-08 15:31:56 +0000 |
| commit | b82b0a5f247eba5d73d913dbd01a88cde2132368 (patch) | |
| tree | 30edada0d4542e483f87e553c5b93fb99dc109cd /Graphics/GraphicsEngineOpenGL | |
| parent | A part of conditional expression is always true: DebugName != nullptr, becaus... (diff) | |
| download | DiligentCore-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.cpp | 1 |
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) { |
