aboutsummaryrefslogtreecommitdiff
path: root/layers/core_validation.cpp
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2016-05-19 06:58:13 -0600
committerTobin Ehlis <tobine@google.com>2016-05-19 06:58:13 -0600
commitd72b9acd6d857ee6e3e46f92f5f48c24b278923a (patch)
tree6db3f4eeff8c73181fa2ef8759e7ceef3d446389 /layers/core_validation.cpp
parent8bfe8f2c5538e99939a8c5bccf7c1c59d69635ad (diff)
downloadusermoji-d72b9acd6d857ee6e3e46f92f5f48c24b278923a.tar.xz
layers: Remove lastBound state reset in destructor
No need to reset this state right before GLOBAL_CB_NODE is destroyed.
Diffstat (limited to 'layers/core_validation.cpp')
-rw-r--r--layers/core_validation.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp
index 3e5360ba..934a2288 100644
--- a/layers/core_validation.cpp
+++ b/layers/core_validation.cpp
@@ -77,7 +77,6 @@ GLOBAL_CB_NODE::~GLOBAL_CB_NODE() {
for (auto set : lastBound[i].uniqueBoundSets) {
set->RemoveBoundCommandBuffer(this);
}
- lastBound[i].reset();
}
}