diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-11-06 06:46:17 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-11-06 06:46:17 +0000 |
| commit | 4de58520987882e1daa162e31cabca3f334c20a8 (patch) | |
| tree | 29ec4a5327f00f205ca4c370a5e1f9fd7dea5e4f /Graphics/GraphicsEngineD3D12 | |
| parent | Refactored BufferBase (diff) | |
| download | DiligentCore-4de58520987882e1daa162e31cabca3f334c20a8.tar.gz DiligentCore-4de58520987882e1daa162e31cabca3f334c20a8.zip | |
Refactored TextureBase
Diffstat (limited to 'Graphics/GraphicsEngineD3D12')
| -rw-r--r-- | Graphics/GraphicsEngineD3D12/src/TextureD3D12Impl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineD3D12/src/TextureD3D12Impl.cpp b/Graphics/GraphicsEngineD3D12/src/TextureD3D12Impl.cpp index 22829770..1c15b351 100644 --- a/Graphics/GraphicsEngineD3D12/src/TextureD3D12Impl.cpp +++ b/Graphics/GraphicsEngineD3D12/src/TextureD3D12Impl.cpp @@ -424,7 +424,7 @@ void TextureD3D12Impl::CreateViewInternal(const struct TextureViewDesc& ViewDesc VERIFY(&TexViewAllocator == &m_dbgTexViewObjAllocator, "Texture view allocator does not match allocator provided during texture initialization"); auto UpdatedViewDesc = ViewDesc; - CorrectTextureViewDesc(UpdatedViewDesc); + ValidatedAndCorrectTextureViewDesc(m_Desc, UpdatedViewDesc); DescriptorHeapAllocation ViewDescriptor; switch (ViewDesc.ViewType) |
