However in debug mode with DX11 the following error occurs when the app starts.
Code: Select all
13:51:40: Texture: MtTc_TrimLoSimple.dds: Loading 1 faces(PF_DXT5,1024x512x1) with 8 custom mipmaps from Image. Internal format is PF_DXT5,1024x512x1.
13:51:40: OGRE EXCEPTION(3:RenderingAPIException): D3D11 device cannot update 2D texture
Error Description:ID3D11DeviceContext::UpdateSubresource: Cannot invoke UpdateSubresourceRegion with a DstBox that contains coordinates that are unaligned to a block or byte addressable boundary. *pDstBox = { {left:0, top:0, front:0}, {right:4, bottom:2, back:1} }. BC3_UNORM requires alignment of coodinates to multiples of {4, 4, 1}.
in D3D11HardwarePixelBuffer::blitFromMemory at C:\Ogre\Ogre_1_10b\RenderSystems\Direct3D11\src\OgreD3D11HardwarePixelBuffer.cpp (line 395)
Code: Select all
13:51:40: Texture: MtTc_WallSimple.dds: Loading 1 faces(PF_DXT5,1024x1024x1) with 8 custom mipmaps from Image. Internal format is PF_DXT5,1024x1024x1.
13:51:40: D3D11: Loading 2D Texture, image name : 'MtTc_WallSimple.dds' with 8 mip map levels
13:51:40: Texture Setup: Set 1, TexNum 113, Image MtTc_WallSimple.dds, Material textures/metaltech/OPAQUE_DSC_MtTc_WallSimple, W1024, H1024