diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-08-27 19:42:49 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-08-27 19:42:49 +0000 |
| commit | 66c3e76f55d2c21a2eaa72c29a321d07dec16aa3 (patch) | |
| tree | 14fa25b623b54a47351540c246e2ca291bd2b6c4 /Graphics/GraphicsEngine | |
| parent | Implemented duration queries in Vulkan (diff) | |
| download | DiligentCore-66c3e76f55d2c21a2eaa72c29a321d07dec16aa3.tar.gz DiligentCore-66c3e76f55d2c21a2eaa72c29a321d07dec16aa3.zip | |
Renamed QueryState::Complete to QueryState::Ended
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/include/QueryBase.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
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<BaseInterface, RenderDeviceImplType, QueryDesc>; @@ -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; |
