From 7d21b7b9fb75f3e84c05ab1894c06e06d1e8c3f3 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Wed, 30 Oct 2019 10:25:25 -0700 Subject: Fixed few more gcc/clang compile issue --- .../GraphicsEngineNextGenBase/include/DeviceContextNextGenBase.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'Graphics/GraphicsEngineNextGenBase') diff --git a/Graphics/GraphicsEngineNextGenBase/include/DeviceContextNextGenBase.h b/Graphics/GraphicsEngineNextGenBase/include/DeviceContextNextGenBase.h index 471082d2..3514513b 100644 --- a/Graphics/GraphicsEngineNextGenBase/include/DeviceContextNextGenBase.h +++ b/Graphics/GraphicsEngineNextGenBase/include/DeviceContextNextGenBase.h @@ -28,6 +28,7 @@ #include "ReferenceCounters.h" #include "RefCntAutoPtr.h" #include "DeviceContextBase.h" +#include "RefCntAutoPtr.h" namespace Diligent { @@ -70,17 +71,17 @@ public: LOG_WARNING_MESSAGE("Deferred contexts have no associated command queues"); return nullptr; } - return this->m_pDevice.RawPtr()->LockCommandQueue(this->m_CommandQueueId); + return this->m_pDevice.template RawPtr()->LockCommandQueue(m_CommandQueueId); } - virtual void UnlockCommandQueue() + virtual void UnlockCommandQueue()override final { if (this->m_bIsDeferred) { LOG_WARNING_MESSAGE("Deferred contexts have no associated command queues"); return; } - this->m_pDevice.RawPtr()->UnlockCommandQueue(this->m_CommandQueueId); + this->m_pDevice.template RawPtr()->UnlockCommandQueue(m_CommandQueueId); } protected: @@ -95,7 +96,7 @@ protected: } else { - m_pDevice.RawPtr()->FlushStaleResources(m_CommandQueueId); + this->m_pDevice.template RawPtr()->FlushStaleResources(m_CommandQueueId); } Atomics::AtomicIncrement(m_ContextFrameNumber); } -- cgit v1.2.3