From f55a5ff022cffd85c497e29a32bb4603b4897e01 Mon Sep 17 00:00:00 2001 From: assiduous Date: Thu, 2 Jan 2020 22:55:54 -0800 Subject: A bunch of minor updated to D3D12 queries --- Graphics/GraphicsEngine/include/QueryBase.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Graphics/GraphicsEngine') diff --git a/Graphics/GraphicsEngine/include/QueryBase.h b/Graphics/GraphicsEngine/include/QueryBase.h index ebcda702..2d506ad4 100644 --- a/Graphics/GraphicsEngine/include/QueryBase.h +++ b/Graphics/GraphicsEngine/include/QueryBase.h @@ -84,14 +84,15 @@ public: { if (this->m_Desc.Type == QUERY_TYPE_TIMESTAMP) { - LOG_ERROR_MESSAGE("Timestamp queries are never begun. Call EndQuery to set the timestamp."); + LOG_ERROR_MESSAGE("BeginQuery cannot be called on timestamp query '", this->m_Desc.Name, + "'. Call EndQuery to set the timestamp."); return false; } if (m_State == QueryState::Querying) { LOG_ERROR_MESSAGE("Attempting to begin query '", this->m_Desc.Name, - "' that is already in querying state."); + "' twice. A query must be ended before it can be begun again."); return false; } -- cgit v1.2.3