diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-04-08 21:35:51 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-04-08 21:35:51 +0000 |
| commit | b624001bcc345802b7c0843fb0d175742257a2f8 (patch) | |
| tree | ffcf2c5a20c6a7a1ac584704067b0f7d6bc5d24f /Graphics/GraphicsEngineD3D12 | |
| parent | Minor updates (diff) | |
| download | DiligentCore-b624001bcc345802b7c0843fb0d175742257a2f8.tar.gz DiligentCore-b624001bcc345802b7c0843fb0d175742257a2f8.zip | |
Added texture view initialization
Diffstat (limited to 'Graphics/GraphicsEngineD3D12')
| -rw-r--r-- | Graphics/GraphicsEngineD3D12/src/TextureD3D12Impl.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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"); } |
