From 66c3e76f55d2c21a2eaa72c29a321d07dec16aa3 Mon Sep 17 00:00:00 2001 From: assiduous Date: Thu, 27 Aug 2020 12:42:49 -0700 Subject: Renamed QueryState::Complete to QueryState::Ended --- Graphics/GraphicsEngine/include/QueryBase.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Graphics/GraphicsEngine') diff --git a/Graphics/GraphicsEngine/include/QueryBase.hpp b/Graphics/GraphicsEngine/include/QueryBase.hpp index 5b066b29..f0252c0d 100644 --- a/Graphics/GraphicsEngine/include/QueryBase.hpp +++ b/Graphics/GraphicsEngine/include/QueryBase.hpp @@ -52,7 +52,7 @@ public: { Inactive, Querying, - Complete + Ended }; using TDeviceObjectBase = DeviceObjectBase; @@ -166,7 +166,7 @@ public: return false; } - m_State = QueryState::Complete; + m_State = QueryState::Ended; return true; } @@ -177,7 +177,7 @@ public: bool CheckQueryDataPtr(void* pData, Uint32 DataSize) { - if (m_State != QueryState::Complete) + if (m_State != QueryState::Ended) { LOG_ERROR_MESSAGE("Attempting to get data of query '", this->m_Desc.Name, "' that has not been ended"); return false; -- cgit v1.2.3