diff options
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/include/DeviceContextBase.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngine/include/DeviceContextBase.h b/Graphics/GraphicsEngine/include/DeviceContextBase.h index 4a78a2e8..8eb752d1 100644 --- a/Graphics/GraphicsEngine/include/DeviceContextBase.h +++ b/Graphics/GraphicsEngine/include/DeviceContextBase.h @@ -155,7 +155,9 @@ protected: Uint32 m_NumVertexStreams = 0; /// Strong reference to the bound pipeline state object. - /// Use final PSO implementation type to avoid virtual calls to AddRef()/Release() + /// Use final PSO implementation type to avoid virtual calls to AddRef()/Release(). + /// We need to keep strong reference as we examine previous pipeline state in + /// SetPipelineState() RefCntAutoPtr<PipelineStateImplType> m_pPipelineState; /// Strong reference to the bound index buffer. |
