diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-12-03 04:46:06 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-12-03 04:46:06 +0000 |
| commit | ac6801e010b5250b3cc6c74c7de9876d6a65299a (patch) | |
| tree | ca8a6af89f3678f539a7e90dbd5c0ef703e5993b /Graphics/GraphicsTools | |
| parent | Added IDeviceContext::GetFrameNumber() method (API ) (diff) | |
| download | DiligentCore-ac6801e010b5250b3cc6c74c7de9876d6a65299a.tar.gz DiligentCore-ac6801e010b5250b3cc6c74c7de9876d6a65299a.zip | |
Fixed clang warning
Diffstat (limited to 'Graphics/GraphicsTools')
| -rw-r--r-- | Graphics/GraphicsTools/src/GraphicsUtilities.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Graphics/GraphicsTools/src/GraphicsUtilities.cpp b/Graphics/GraphicsTools/src/GraphicsUtilities.cpp index 664749b2..b46946df 100644 --- a/Graphics/GraphicsTools/src/GraphicsUtilities.cpp +++ b/Graphics/GraphicsTools/src/GraphicsUtilities.cpp @@ -329,6 +329,9 @@ void ComputeMipLevel(Uint32 FineLevelWidth, VERIFY(FmtAttribs.ComponentSize == 4, "Only 32-bit float formats are currently supported"); ComputeMipHelper.Run<Float32>(LinearAverage<Float32>); break; + + default: + UNEXPECTED("Unsupported component type"); } } |
