diff options
| author | Ian Elliott <ianelliott@google.com> | 2016-01-25 12:33:06 -0700 |
|---|---|---|
| committer | Jon Ashburn <jon@lunarg.com> | 2016-01-28 11:19:11 -0700 |
| commit | 0675b182376b0ecd51cff4e5c29bb03f2760807a (patch) | |
| tree | b3ae8b9e22ca71aa709c77afe267edb66d2b0867 /layers/vk_layer_table.cpp | |
| parent | 22ababc340f8f08baefa4c02b9776a62474631e1 (diff) | |
| download | usermoji-0675b182376b0ecd51cff4e5c29bb03f2760807a.tar.xz | |
Swapchain: Ensure Destroy{Device|Surface}() don't core dump.
There are multiple pieces of code that can try to delete an SwpSwapchain struct:
- DestroyDevice()
- DestroySurface()
- DestroySwapchain()
This tries to address the various paths through the code, so that
Destroy{Device|Surface}() won't also try to destroy an already-destroyed
swapchain.
Diffstat (limited to 'layers/vk_layer_table.cpp')
0 files changed, 0 insertions, 0 deletions
