diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-07-25 04:45:59 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-07-25 04:45:59 +0000 |
| commit | 946884fb264969aa03e5d266d2349c8a74e5cf55 (patch) | |
| tree | d70f8ec7977f829588e7bf8250ab1040981d3df0 /Graphics/GraphicsEngineD3D11 | |
| parent | Updated DeviceContextBase to use final types for pipeline state, buffers and ... (diff) | |
| download | DiligentCore-946884fb264969aa03e5d266d2349c8a74e5cf55.tar.gz DiligentCore-946884fb264969aa03e5d266d2349c8a74e5cf55.zip | |
Updated VertexStreamInfo to use final buffer implementation type
Diffstat (limited to 'Graphics/GraphicsEngineD3D11')
| -rw-r--r-- | Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp b/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp index 0692c48c..d810911e 100644 --- a/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp +++ b/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp @@ -623,12 +623,12 @@ namespace Diligent bool BindVBs = m_NumVertexStreams != m_NumCommittedD3D11VBs; - const auto *Strides = pPipelineStateD3D11->GetBufferStrides(); + const auto* Strides = pPipelineStateD3D11->GetBufferStrides(); for( UINT Slot = 0; Slot < m_NumVertexStreams; ++Slot ) { - auto &CurrStream = m_VertexStreams[Slot]; + auto& CurrStream = m_VertexStreams[Slot]; VERIFY( CurrStream.pBuffer, "Attempting to bind a null buffer for rendering" ); - auto* pBuffD3D11Impl = CurrStream.pBuffer.RawPtr<BufferD3D11Impl>(); + auto* pBuffD3D11Impl = CurrStream.pBuffer.RawPtr(); ID3D11Buffer* pd3d11Buffer = pBuffD3D11Impl->m_pd3d11Buffer; auto Stride = Strides[Slot]; auto Offset = CurrStream.Offset; |
