From ac6801e010b5250b3cc6c74c7de9876d6a65299a Mon Sep 17 00:00:00 2001 From: assiduous Date: Wed, 2 Dec 2020 20:46:06 -0800 Subject: Fixed clang warning --- Graphics/GraphicsTools/src/GraphicsUtilities.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Graphics/GraphicsTools') 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(LinearAverage); break; + + default: + UNEXPECTED("Unsupported component type"); } } -- cgit v1.2.3