aboutsummaryrefslogtreecommitdiff
path: root/layers/object_tracker.cpp
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2016-12-22 11:00:07 -0700
committerTobin Ehlis <tobine@google.com>2016-12-23 14:39:34 -0700
commit71c793ea62855c50a6e8a473dc0323c98d506e8b (patch)
tree063fcddb06d8c6cbcc0942a99bcdda64ea0021b5 /layers/object_tracker.cpp
parent0813aaa5dee35db1f5b177da7166792a0419098a (diff)
downloadusermoji-71c793ea62855c50a6e8a473dc0323c98d506e8b.tar.xz
layers:Fix unique error enum
ResetCommandBuffer valid commandBuffer handle is id *00094, not *00090. This was causing 90, which is for allocation, to be incorrectly reused.
Diffstat (limited to 'layers/object_tracker.cpp')
-rw-r--r--layers/object_tracker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/object_tracker.cpp b/layers/object_tracker.cpp
index fc68e129..8a47dd2c 100644
--- a/layers/object_tracker.cpp
+++ b/layers/object_tracker.cpp
@@ -1835,7 +1835,7 @@ VKAPI_ATTR VkResult VKAPI_CALL ResetCommandBuffer(VkCommandBuffer commandBuffer,
{
std::lock_guard<std::mutex> lock(global_lock);
skip_call |= ValidateObject(commandBuffer, commandBuffer, VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_BUFFER_EXT, false,
- VALIDATION_ERROR_00090);
+ VALIDATION_ERROR_00094);
}
if (skip_call) {
return VK_ERROR_VALIDATION_FAILED_EXT;