summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineNextGenBase
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-10-30 17:25:25 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-10-30 17:25:25 +0000
commit7d21b7b9fb75f3e84c05ab1894c06e06d1e8c3f3 (patch)
treee07acafa1de43f8468d267ede62104eb358504e8 /Graphics/GraphicsEngineNextGenBase
parentFixed gcc errors (diff)
downloadDiligentCore-7d21b7b9fb75f3e84c05ab1894c06e06d1e8c3f3.tar.gz
DiligentCore-7d21b7b9fb75f3e84c05ab1894c06e06d1e8c3f3.zip
Fixed few more gcc/clang compile issue
Diffstat (limited to 'Graphics/GraphicsEngineNextGenBase')
-rw-r--r--Graphics/GraphicsEngineNextGenBase/include/DeviceContextNextGenBase.h9
1 files changed, 5 insertions, 4 deletions
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<DeviceImplType>()->LockCommandQueue(this->m_CommandQueueId);
+ return this->m_pDevice.template RawPtr<DeviceImplType>()->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<DeviceImplType>()->UnlockCommandQueue(this->m_CommandQueueId);
+ this->m_pDevice.template RawPtr<DeviceImplType>()->UnlockCommandQueue(m_CommandQueueId);
}
protected:
@@ -95,7 +96,7 @@ protected:
}
else
{
- m_pDevice.RawPtr<DeviceImplType>()->FlushStaleResources(m_CommandQueueId);
+ this->m_pDevice.template RawPtr<DeviceImplType>()->FlushStaleResources(m_CommandQueueId);
}
Atomics::AtomicIncrement(m_ContextFrameNumber);
}