diff options
| author | Tony-LunarG <tony@lunarg.com> | 2023-05-25 15:02:12 -0600 |
|---|---|---|
| committer | Tony Barbour <tony@lunarg.com> | 2023-05-25 15:33:35 -0600 |
| commit | fedb3b8ed39899eeb7c549cd50a380132b9dc948 (patch) | |
| tree | 583b79190e1b434f716f865147bcceb353a095b9 /cube/cube.cpp | |
| parent | 9aafa3cf1a72170cedab37073dcc184a6428469b (diff) | |
| download | usermoji-fedb3b8ed39899eeb7c549cd50a380132b9dc948.tar.xz | |
vkcubepp: Fix cmd buffer/pool leak
Diffstat (limited to 'cube/cube.cpp')
| -rw-r--r-- | cube/cube.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cube/cube.cpp b/cube/cube.cpp index def474b2..1e7d48cf 100644 --- a/cube/cube.cpp +++ b/cube/cube.cpp @@ -1553,13 +1553,12 @@ void Demo::init_vk_swapchain() { } void Demo::prepare() { - prepare_init_cmd(); - prepare_buffers(); if (is_minimized) { prepared = false; return; } + prepare_init_cmd(); prepare_depth(); prepare_textures(); prepare_cube_data_buffers(); |
