layers:Refactor DestroyBuffer()
authorTobin Ehlis <tobine@google.com>
Mon, 19 Dec 2016 17:53:58 +0000 (10:53 -0700)
committerTobin Ehlis <tobine@google.com>
Mon, 19 Dec 2016 21:31:33 +0000 (14:31 -0700)
commite1056daefb39e3a3fed0088874725c56a1359e54
treee6f30dc38a2fc979413247fd0313b1bbc9b496d3
parentba869bb0c781faa360529f826de4e1a8042fcdca
layers:Refactor DestroyBuffer()

Update DestroyBuffer() to use Pre/Post pattern. All of the state
updates are now only performed if call down chain is not skipped.
layers/core_validation.cpp