From b624001bcc345802b7c0843fb0d175742257a2f8 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sun, 8 Apr 2018 14:35:51 -0700 Subject: Added texture view initialization --- Graphics/GraphicsEngineD3D12/src/TextureD3D12Impl.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Graphics/GraphicsEngineD3D12') diff --git a/Graphics/GraphicsEngineD3D12/src/TextureD3D12Impl.cpp b/Graphics/GraphicsEngineD3D12/src/TextureD3D12Impl.cpp index a8ed0f54..2f5bb078 100644 --- a/Graphics/GraphicsEngineD3D12/src/TextureD3D12Impl.cpp +++ b/Graphics/GraphicsEngineD3D12/src/TextureD3D12Impl.cpp @@ -456,16 +456,16 @@ void TextureD3D12Impl :: CopyData(IDeviceContext *pContext, void TextureD3D12Impl :: Map(IDeviceContext *pContext, Uint32 Subresource, MAP_TYPE MapType, Uint32 MapFlags, MappedTextureSubresource &MappedData) { TTextureBase::Map( pContext, Subresource, MapType, MapFlags, MappedData ); - LOG_ERROR_ONCE("TextureD3D12Impl::Map() is not implemented"); + UNSUPPORTED("TextureD3D12Impl::Map() is not implemented"); - static char TmpDummyBuffer[1024*1024*64]; - MappedData.pData = TmpDummyBuffer; + //static char TmpDummyBuffer[1024*1024*64]; + MappedData.pData = nullptr;//TmpDummyBuffer; } void TextureD3D12Impl::Unmap( IDeviceContext *pContext, Uint32 Subresource, MAP_TYPE MapType, Uint32 MapFlags ) { TTextureBase::Unmap( pContext, Subresource, MapType, MapFlags ); - LOG_ERROR_ONCE("TextureD3D12Impl::Unmap() is not implemented"); + UNSUPPORTED("TextureD3D12Impl::Unmap() is not implemented"); } -- cgit v1.2.3