diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-10-25 17:38:41 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-10-25 17:38:41 +0000 |
| commit | 3d593c26c452756a27975700b81e6ac949512c30 (patch) | |
| tree | a9e68d7e0fbda35c4c503e8a4795efbf9e1b62c5 /Graphics/GraphicsEngine | |
| parent | IRenderDeviceMtl: added CreateTextureFromMtlResource and CreateBufferFromMtlR... (diff) | |
| download | DiligentCore-3d593c26c452756a27975700b81e6ac949512c30.tar.gz DiligentCore-3d593c26c452756a27975700b81e6ac949512c30.zip | |
Fixed issue with wrong base constructor being called for PipelineStateVkImpl, PipelineStateD3D12Impl, and PipelineStateGLImpl
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/include/PipelineStateBase.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngine/include/PipelineStateBase.hpp b/Graphics/GraphicsEngine/include/PipelineStateBase.hpp index 1effd32f..a86fae07 100644 --- a/Graphics/GraphicsEngine/include/PipelineStateBase.hpp +++ b/Graphics/GraphicsEngine/include/PipelineStateBase.hpp @@ -59,7 +59,7 @@ void CorrectGraphicsPipelineDesc(GraphicsPipelineDesc& GraphicsPipeline) noexcep template <class BaseInterface, class RenderDeviceImplType> class PipelineStateBase : public DeviceObjectBase<BaseInterface, RenderDeviceImplType, PipelineStateDesc> { -public: +private: using TDeviceObjectBase = DeviceObjectBase<BaseInterface, RenderDeviceImplType, PipelineStateDesc>; /// \param pRefCounters - Reference counters object that controls the lifetime of this PSO @@ -80,6 +80,7 @@ public: this->m_Desc.CommandQueueMask &= DeviceQueuesMask; } +public: /// \param pRefCounters - Reference counters object that controls the lifetime of this PSO /// \param pDevice - Pointer to the device. /// \param GraphicsPipelineCI - Graphics pipeline create information. |
