From 3f64170a59f4364d2770a5adddb62d1553a4926f Mon Sep 17 00:00:00 2001 From: walbourn_cp Date: Thu, 18 Oct 2012 11:44:10 -0700 Subject: [PATCH] DDSTextureLoader: Minor code cleanup reported by Codeplex user --- DDSTextureLoader/DDSTextureLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DDSTextureLoader/DDSTextureLoader.cpp b/DDSTextureLoader/DDSTextureLoader.cpp index 6adade2..301106e 100644 --- a/DDSTextureLoader/DDSTextureLoader.cpp +++ b/DDSTextureLoader/DDSTextureLoader.cpp @@ -1189,7 +1189,7 @@ static HRESULT CreateTextureFromDDS( _In_ ID3D11Device* d3dDevice, } // Create the texture - std::unique_ptr initData( new D3D11_SUBRESOURCE_DATA[ mipCount * arraySize ] ); + std::unique_ptr initData( new D3D11_SUBRESOURCE_DATA[ mipCount * arraySize ] ); if ( !initData ) { return E_OUTOFMEMORY;