diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-01-03 06:55:54 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-01-03 06:55:54 +0000 |
| commit | f55a5ff022cffd85c497e29a32bb4603b4897e01 (patch) | |
| tree | 1b0d25c17c133c07b31a84ff6a9143dee9f68095 /Graphics/GraphicsEngine | |
| parent | Fixed few MacOS build issues (diff) | |
| download | DiligentCore-f55a5ff022cffd85c497e29a32bb4603b4897e01.tar.gz DiligentCore-f55a5ff022cffd85c497e29a32bb4603b4897e01.zip | |
A bunch of minor updated to D3D12 queries
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/include/QueryBase.h | 5 |
1 files changed, 3 insertions, 2 deletions
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; } |
