diff options
| author | Ian Elliott <ian@LunarG.com> | 2015-10-21 13:50:31 -0600 |
|---|---|---|
| committer | Ian Elliott <ian@lunarg.com> | 2015-10-27 10:35:50 -0600 |
| commit | 302a005f2e967b7bc1fb1485ed0e81d77766a4d6 (patch) | |
| tree | 15b4299a0eb20ca5518563b70ebdbf293d221525 | |
| parent | cf074d32ffaafac83f2ff2051c3a9a91bfbfa606 (diff) | |
| download | usermoji-302a005f2e967b7bc1fb1485ed0e81d77766a4d6.tar.xz | |
cube: Removed some #if 0's that had bee left in the code.
| -rw-r--r-- | demos/cube.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/demos/cube.c b/demos/cube.c index 8acd7afa..6637bce8 100644 --- a/demos/cube.c +++ b/demos/cube.c @@ -1882,9 +1882,6 @@ static void demo_resize(struct demo *demo) vkFreeMemory(demo->device, demo->textures[i].mem); vkDestroySampler(demo->device, demo->textures[i].sampler); } -#if 0 - demo->fpDestroySwapchainKHR(demo->device, demo->swapchain); -#endif vkDestroyImageView(demo->device, demo->depth.view); vkDestroyImage(demo->device, demo->depth.image); @@ -1899,16 +1896,6 @@ static void demo_resize(struct demo *demo) } free(demo->buffers); -#if 0 - free(demo->queue_props); - - vkDestroyCommandPool(demo->device, demo->cmd_pool); - vkDestroyDevice(demo->device); - if (demo->validate) { - demo->dbgDestroyMsgCallback(demo->inst, demo->msg_callback); - } -#endif - // Second, re-perform the demo_prepare() function, which will re-create the // swapchain: |
