diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2015-12-02 13:26:07 -0700 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2015-12-02 13:50:16 -0700 |
| commit | 4ebf4e55b470d28b66aadeff6939dd2eb2e473b4 (patch) | |
| tree | 3d6f8b248c58c81ff5c339a774f7a6240b244689 | |
| parent | 62c8e41feac4f67e74be2c8a8a6082dd5715eac2 (diff) | |
| download | usermoji-4ebf4e55b470d28b66aadeff6939dd2eb2e473b4.tar.xz | |
demos: Fix ObjectTracker error in cube demo
| -rw-r--r-- | demos/cube.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/demos/cube.c b/demos/cube.c index e49ab0b4..a336ee2f 100644 --- a/demos/cube.c +++ b/demos/cube.c @@ -1843,9 +1843,6 @@ static void demo_resize(struct demo *demo) vkDestroyCommandPool(demo->device, demo->cmd_pool, NULL); free(demo->buffers); - vkDestroyCommandPool(demo->device, demo->cmd_pool, NULL); - - // Second, re-perform the demo_prepare() function, which will re-create the // swapchain: demo_prepare(demo); |
