From b06bef98cbe17f2a1752e689827e51cbe05a2406 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Thu, 20 Sep 2018 20:39:39 -0700 Subject: Fixed linux/mac/iOS build --- Graphics/GraphicsEngine/include/BufferBase.h | 4 ++-- Graphics/GraphicsEngine/include/PipelineStateBase.h | 4 ++-- Graphics/GraphicsEngine/include/TextureBase.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'Graphics/GraphicsEngine') diff --git a/Graphics/GraphicsEngine/include/BufferBase.h b/Graphics/GraphicsEngine/include/BufferBase.h index 0170dd20..bc2d277b 100644 --- a/Graphics/GraphicsEngine/include/BufferBase.h +++ b/Graphics/GraphicsEngine/include/BufferBase.h @@ -106,8 +106,8 @@ public: } Uint64 DeviceQueuesMask = pDevice->GetCommandQueueMask(); - DEV_CHECK_ERR( (m_Desc.CommandQueueMask & DeviceQueuesMask) != 0, "No bits in the command queue mask (0x", std::hex, m_Desc.CommandQueueMask, ") correspond to one of ", pDevice->GetCommandQueueCount(), " available device command queues"); - m_Desc.CommandQueueMask &= DeviceQueuesMask; + DEV_CHECK_ERR( (this->m_Desc.CommandQueueMask & DeviceQueuesMask) != 0, "No bits in the command queue mask (0x", std::hex, this->m_Desc.CommandQueueMask, ") correspond to one of ", pDevice->GetCommandQueueCount(), " available device command queues"); + this->m_Desc.CommandQueueMask &= DeviceQueuesMask; } IMPLEMENT_QUERY_INTERFACE_IN_PLACE( IID_Buffer, TDeviceObjectBase ) diff --git a/Graphics/GraphicsEngine/include/PipelineStateBase.h b/Graphics/GraphicsEngine/include/PipelineStateBase.h index 83e1a44b..c8451585 100644 --- a/Graphics/GraphicsEngine/include/PipelineStateBase.h +++ b/Graphics/GraphicsEngine/include/PipelineStateBase.h @@ -167,8 +167,8 @@ public: } Uint64 DeviceQueuesMask = pDevice->GetCommandQueueMask(); - DEV_CHECK_ERR( (m_Desc.CommandQueueMask & DeviceQueuesMask) != 0, "No bits in the command queue mask (0x", std::hex, m_Desc.CommandQueueMask, ") correspond to one of ", pDevice->GetCommandQueueCount(), " available device command queues"); - m_Desc.CommandQueueMask &= DeviceQueuesMask; + DEV_CHECK_ERR( (this->m_Desc.CommandQueueMask & DeviceQueuesMask) != 0, "No bits in the command queue mask (0x", std::hex, this->m_Desc.CommandQueueMask, ") correspond to one of ", pDevice->GetCommandQueueCount(), " available device command queues"); + this->m_Desc.CommandQueueMask &= DeviceQueuesMask; } ~PipelineStateBase() diff --git a/Graphics/GraphicsEngine/include/TextureBase.h b/Graphics/GraphicsEngine/include/TextureBase.h index 0b9f923f..39f98b5c 100644 --- a/Graphics/GraphicsEngine/include/TextureBase.h +++ b/Graphics/GraphicsEngine/include/TextureBase.h @@ -112,8 +112,8 @@ public: } Uint64 DeviceQueuesMask = pDevice->GetCommandQueueMask(); - DEV_CHECK_ERR( (m_Desc.CommandQueueMask & DeviceQueuesMask) != 0, "No bits in the command queue mask (0x", std::hex, m_Desc.CommandQueueMask, ") correspond to one of ", pDevice->GetCommandQueueCount(), " available device command queues"); - m_Desc.CommandQueueMask &= DeviceQueuesMask; + DEV_CHECK_ERR( (this->m_Desc.CommandQueueMask & DeviceQueuesMask) != 0, "No bits in the command queue mask (0x", std::hex, this->m_Desc.CommandQueueMask, ") correspond to one of ", pDevice->GetCommandQueueCount(), " available device command queues"); + this->m_Desc.CommandQueueMask &= DeviceQueuesMask; // Validate correctness of texture description ValidateTextureDesc( this->m_Desc ); -- cgit v1.2.3