summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/include/QueryBase.hpp6
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;