From f6cace44e8fcba1d3d7c5cd2c673840a028f7d9f Mon Sep 17 00:00:00 2001 From: walbourn_cp Date: Mon, 3 Jun 2013 15:11:47 -0700 Subject: [PATCH] DirectXTex: Minor code cleanup --- DirectXTex/DirectXTexMipmaps.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/DirectXTex/DirectXTexMipmaps.cpp b/DirectXTex/DirectXTexMipmaps.cpp index 8e71253..9a7549a 100644 --- a/DirectXTex/DirectXTexMipmaps.cpp +++ b/DirectXTex/DirectXTexMipmaps.cpp @@ -1062,7 +1062,7 @@ HRESULT GenerateMipMaps3D( const Image* baseImages, size_t depth, DWORD filter, mipChain.Release(); return hr; - case WIC_FLAGS_FILTER_POINT: + case TEX_FILTER_POINT: hr = _Setup3DMips( baseImages, depth, levels, mipChain ); if ( FAILED(hr) ) return hr; @@ -1072,11 +1072,11 @@ HRESULT GenerateMipMaps3D( const Image* baseImages, size_t depth, DWORD filter, mipChain.Release(); return hr; - case WIC_FLAGS_FILTER_LINEAR: + case TEX_FILTER_LINEAR: // Need to implement a 3D bi-linear filter (2x2x2) return E_NOTIMPL; - case WIC_FLAGS_FILTER_CUBIC: + case TEX_FILTER_CUBIC: // Need to implement a 3D bi-cubic filter (3x3x3) return E_NOTIMPL; @@ -1140,7 +1140,7 @@ HRESULT GenerateMipMaps3D( const Image* srcImages, size_t nimages, const TexMeta mipChain.Release(); return hr; - case WIC_FLAGS_FILTER_POINT: + case TEX_FILTER_POINT: hr = _Setup3DMips( &baseImages[0], metadata.depth, levels, mipChain ); if ( FAILED(hr) ) return hr; @@ -1150,11 +1150,11 @@ HRESULT GenerateMipMaps3D( const Image* srcImages, size_t nimages, const TexMeta mipChain.Release(); return hr; - case WIC_FLAGS_FILTER_LINEAR: + case TEX_FILTER_LINEAR: // Need to implement a 3D bi-linear filter (2x2x2) return E_NOTIMPL; - case WIC_FLAGS_FILTER_CUBIC: + case TEX_FILTER_CUBIC: // Need to implement a 3D bi-cubic filter (3x3x3) return E_NOTIMPL;