summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3D11
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngineD3D11')
-rw-r--r--Graphics/GraphicsEngineD3D11/src/BufferD3D11Impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineD3D11/src/BufferD3D11Impl.cpp b/Graphics/GraphicsEngineD3D11/src/BufferD3D11Impl.cpp
index 65b49ba0..de7c843d 100644
--- a/Graphics/GraphicsEngineD3D11/src/BufferD3D11Impl.cpp
+++ b/Graphics/GraphicsEngineD3D11/src/BufferD3D11Impl.cpp
@@ -59,7 +59,7 @@ BufferD3D11Impl::BufferD3D11Impl(IReferenceCounters* pRefCounters,
if (m_Desc.Usage == USAGE_UNIFIED)
{
- DecayUnifiedBuffer();
+ LOG_ERROR_AND_THROW("Unified resources are not supported in Direct3D11");
}
if (m_Desc.Usage == USAGE_STATIC)