commit | e9c84c071ff89408ec587fdeb9c6e7d9d4236aed | [log] [tgz] |
---|---|---|
author | Loko Kung <lokokung@google.com> | Thu Nov 11 01:39:52 2021 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Nov 11 01:39:52 2021 +0000 |
tree | 9c795c8580196e51b2321fa250a45c8501977fdc | |
parent | 4a24f9c261a1a2178e5a84e17286f09aa4137760 [diff] [blame] |
Renames DestroyApiObject* to Destroy* for simplicity. - Also updates and adds tests for CommandBuffer since it is the last object with a Destroy name clash. Bug: dawn:628 Change-Id: I028e0101a91a785aa90d2b656556d48fe0d6e736 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/68101 Commit-Queue: Loko Kung <lokokung@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
diff --git a/src/dawn_native/opengl/BindGroupGL.cpp b/src/dawn_native/opengl/BindGroupGL.cpp index 0a43de2..70975a9 100644 --- a/src/dawn_native/opengl/BindGroupGL.cpp +++ b/src/dawn_native/opengl/BindGroupGL.cpp
@@ -52,7 +52,7 @@ BindGroup::~BindGroup() = default; - void BindGroup::DestroyApiObjectImpl() { + void BindGroup::DestroyImpl() { ToBackend(GetLayout())->DeallocateBindGroup(this); }