diff --git a/DirectXTex/DirectXTexConvert.cpp b/DirectXTex/DirectXTexConvert.cpp index 4690481..b791556 100644 --- a/DirectXTex/DirectXTexConvert.cpp +++ b/DirectXTex/DirectXTexConvert.cpp @@ -4331,6 +4331,9 @@ namespace case DXGI_FORMAT_A8_UNORM: // Conversion logic for these kinds of textures is unintuitive for WIC code paths return false; + + default: + break; } break; @@ -4343,6 +4346,9 @@ namespace case DXGI_FORMAT_A8_UNORM: // Conversion logic for these kinds of textures is unintuitive for WIC code paths return false; + + default: + break; } break; @@ -4356,6 +4362,9 @@ namespace case DXGI_FORMAT_A8_UNORM: // Conversion logic for these kinds of textures is unintuitive for WIC code paths return false; + + default: + break; } } diff --git a/DirectXTex/DirectXTexMipmaps.cpp b/DirectXTex/DirectXTexMipmaps.cpp index 3fe9cca..5d330cc 100644 --- a/DirectXTex/DirectXTexMipmaps.cpp +++ b/DirectXTex/DirectXTexMipmaps.cpp @@ -1303,6 +1303,9 @@ namespace } } break; + + default: + break; } // This performs any required clamping @@ -2483,6 +2486,9 @@ namespace } } break; + + default: + break; } // This performs any required clamping diff --git a/DirectXTex/DirectXTexResize.cpp b/DirectXTex/DirectXTexResize.cpp index 124e1cd..49c723f 100644 --- a/DirectXTex/DirectXTexResize.cpp +++ b/DirectXTex/DirectXTexResize.cpp @@ -767,6 +767,9 @@ namespace } } break; + + default: + break; } // This performs any required clamping