Remove useless code, add queue_family_index in scene class

This commit is contained in:
Guillaume Meunier
2024-01-28 11:33:33 +01:00
parent 48bb19111b
commit c0c0371dbc
3 changed files with 4 additions and 20 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ std::shared_ptr<scenes::stream> scenes::stream::create(std::unique_ptr<wivrn_ses
.commandPool = *self->commandpool,
.level = vk::CommandBufferLevel::ePrimary,
.commandBufferCount = 1})[0]);
self->fence = self->create_fence(false);
self->fence = self->device.createFence({});
// Look up the XrActions for haptics
self->haptics_actions[0].first = application::get_action("/user/hand/left/output/haptic").first;