projects
/
platform
/
upstream
/
Vulkan-LoaderAndValidationLayers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b14457f
)
demos: call DeviceWaitIdle before DestroyDevice
author
Jeremy Hayes
<jeremy@lunarg.com>
Wed, 16 Nov 2016 21:54:41 +0000
(14:54 -0700)
committer
Jeremy Hayes
<jeremy-lunarg@users.noreply.github.com>
Fri, 18 Nov 2016 21:11:43 +0000
(14:11 -0700)
Change-Id: Ic5819027b706e8c5d66ae78d0d0da1133c16085b
demos/cube.cpp
patch
|
blob
|
history
diff --git
a/demos/cube.cpp
b/demos/cube.cpp
index
d7e8436
..
24917e8
100644
(file)
--- 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);