diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2015-12-14 15:47:36 -0700 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2015-12-14 15:47:36 -0700 |
| commit | 1490f8f233ead19f1d4c655ddfd8a80d11cca62a (patch) | |
| tree | f5440333ce7509d8fd7c9099c0d42c5ea047b85a | |
| parent | 4c2ae7eea800099e872381423ba1406988d131ea (diff) | |
| download | usermoji-1490f8f233ead19f1d4c655ddfd8a80d11cca62a.tar.xz | |
demos: Update command pool flags for implicit resets in tri.c
| -rw-r--r-- | demos/tri.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/tri.c b/demos/tri.c index 4f404dc7..19848a4e 100644 --- a/demos/tri.c +++ b/demos/tri.c @@ -1439,7 +1439,7 @@ static void demo_prepare(struct demo *demo) .sType = VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO, .pNext = NULL, .queueFamilyIndex = demo->graphics_queue_node_index, - .flags = 0, + .flags = VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, }; err = vkCreateCommandPool(demo->device, &cmd_pool_info, NULL, &demo->cmd_pool); assert(!err); |
