diff options
| -rw-r--r-- | src/queue_context.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/queue_context.cc b/src/queue_context.cc index c920610..0d83f66 100644 --- a/src/queue_context.cc +++ b/src/queue_context.cc @@ -36,14 +36,14 @@ QueueContext::CommandPoolOwner::~CommandPoolOwner() { QueueContext::QueueContext(DeviceContext& device, const VkQueue& queue, const std::uint32_t& queue_family_index) - : device(device), queue(queue), queue_family_index(queue_family_index), - command_pool(std::make_unique<CommandPoolOwner>(*this)) { + : device(device), queue(queue), queue_family_index(queue_family_index) { // Only construct things if we actually support our operations. if (!device.physical_device.supports_required_extensions) { return; } + this->command_pool = std::make_unique<CommandPoolOwner>(*this); this->timestamp_pool = std::make_unique<TimestampPool>(*this); this->strategy = [&]() -> std::unique_ptr<QueueStrategy> { if (device.instance.layer.should_expose_reflex) { |
