diff options
| author | Jeremy Hayes <jeremy@lunarg.com> | 2016-11-16 14:54:41 -0700 |
|---|---|---|
| committer | Jeremy Hayes <jeremy-lunarg@users.noreply.github.com> | 2016-11-18 14:11:43 -0700 |
| commit | 32633cb10478930a15322d4054466a37a571402a (patch) | |
| tree | 0db926f1b25479b3b8233fd7ba918c78c6c16836 /demos/cube.cpp | |
| parent | 6ae1f8af9ebe406c3989afc4703ade78666d698f (diff) | |
| download | usermoji-32633cb10478930a15322d4054466a37a571402a.tar.xz | |
demos: call DeviceWaitIdle before DestroyDevice
Change-Id: Ic5819027b706e8c5d66ae78d0d0da1133c16085b
Diffstat (limited to 'demos/cube.cpp')
| -rw-r--r-- | demos/cube.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/cube.cpp b/demos/cube.cpp index d7e84364..24917e8b 100644 --- a/demos/cube.cpp +++ b/demos/cube.cpp @@ -337,7 +337,7 @@ struct Demo { if (separate_present_queue) { device.destroyCommandPool(present_cmd_pool, nullptr); } - + device.waitIdle(); device.destroy(nullptr); inst.destroySurfaceKHR(surface, nullptr); inst.destroy(nullptr); |
