summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3D11
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-12-05 16:26:06 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-12-05 16:26:06 +0000
commitafbab2b5335815aac5507d564a747d32f5ae31be (patch)
tree467b972a596310090227e18edb1d8268bf30210b /Graphics/GraphicsEngineD3D11
parentAdded ITextureD3D12::GetD3D12ResourceState(), IBufferD3D12::GetD3D12ResourceS... (diff)
downloadDiligentCore-afbab2b5335815aac5507d564a747d32f5ae31be.tar.gz
DiligentCore-afbab2b5335815aac5507d564a747d32f5ae31be.zip
Minor code improvements
Diffstat (limited to 'Graphics/GraphicsEngineD3D11')
-rwxr-xr-xGraphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp b/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp
index 60062210..e04686a9 100755
--- a/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp
+++ b/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp
@@ -384,7 +384,7 @@ namespace Diligent
if (TransitionResources)
{
- auto &CB = CachedCBs[cb];
+ auto& CB = CachedCBs[cb];
if (auto* pBuff = CB.pBuff.RawPtr<BufferD3D11Impl>())
{
// WARNING! This code is not thread-safe. It is up to the application to make