From d72b9acd6d857ee6e3e46f92f5f48c24b278923a Mon Sep 17 00:00:00 2001 From: Tobin Ehlis Date: Thu, 19 May 2016 06:58:13 -0600 Subject: [PATCH] layers: Remove lastBound state reset in destructor No need to reset this state right before GLOBAL_CB_NODE is destroyed. --- layers/core_validation.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 3e5360b..934a228 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(); } } -- 2.7.4