summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3D11
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-11-06 06:46:17 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-11-06 06:46:17 +0000
commit4de58520987882e1daa162e31cabca3f334c20a8 (patch)
tree29ec4a5327f00f205ca4c370a5e1f9fd7dea5e4f /Graphics/GraphicsEngineD3D11
parentRefactored BufferBase (diff)
downloadDiligentCore-4de58520987882e1daa162e31cabca3f334c20a8.tar.gz
DiligentCore-4de58520987882e1daa162e31cabca3f334c20a8.zip
Refactored TextureBase
Diffstat (limited to 'Graphics/GraphicsEngineD3D11')
-rw-r--r--Graphics/GraphicsEngineD3D11/src/TextureBaseD3D11.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineD3D11/src/TextureBaseD3D11.cpp b/Graphics/GraphicsEngineD3D11/src/TextureBaseD3D11.cpp
index 0e9b217b..cb83f194 100644
--- a/Graphics/GraphicsEngineD3D11/src/TextureBaseD3D11.cpp
+++ b/Graphics/GraphicsEngineD3D11/src/TextureBaseD3D11.cpp
@@ -70,7 +70,7 @@ void TextureBaseD3D11::CreateViewInternal(const struct TextureViewDesc& ViewDesc
try
{
auto UpdatedViewDesc = ViewDesc;
- CorrectTextureViewDesc(UpdatedViewDesc);
+ ValidatedAndCorrectTextureViewDesc(m_Desc, UpdatedViewDesc);
RefCntAutoPtr<ID3D11View> pD3D11View;
switch (ViewDesc.ViewType)