From 7245687c6c848fd27db16f9305ef65015a9ff197 Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Tue, 14 Feb 2017 16:02:25 -0800 Subject: [PATCH] SAL annotation for switch fallthrough --- DirectXTex/DirectXTexConvert.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DirectXTex/DirectXTexConvert.cpp b/DirectXTex/DirectXTexConvert.cpp index e3ea76b..10281fd 100644 --- a/DirectXTex/DirectXTexConvert.cpp +++ b/DirectXTex/DirectXTexConvert.cpp @@ -3161,7 +3161,7 @@ void DirectX::_ConvertScanline( break; } - // fall-through + __fallthrough; case TEX_FILTER_RGB_COPY_RED: { @@ -3445,7 +3445,7 @@ void DirectX::_ConvertScanline( break; } - // fall-through + __fallthrough; case TEX_FILTER_RGB_COPY_RED: { @@ -3538,7 +3538,7 @@ void DirectX::_ConvertScanline( break; } - // fall-through + __fallthrough; case TEX_FILTER_RGB_COPY_RED: // Leave data unchanged and the store will handle this...