From 3d593c26c452756a27975700b81e6ac949512c30 Mon Sep 17 00:00:00 2001 From: assiduous Date: Sun, 25 Oct 2020 10:38:41 -0700 Subject: Fixed issue with wrong base constructor being called for PipelineStateVkImpl, PipelineStateD3D12Impl, and PipelineStateGLImpl --- Graphics/GraphicsEngine/include/PipelineStateBase.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngine') 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 PipelineStateBase : public DeviceObjectBase { -public: +private: using TDeviceObjectBase = DeviceObjectBase; /// \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. -- cgit v1.2.3