Skip to content

Commit

Permalink
a triangle
Browse files Browse the repository at this point in the history
  • Loading branch information
btipling committed Nov 20, 2024
1 parent dfa2eb8 commit b066faf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rhi/RHI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1008,6 +1008,9 @@ VkResult Rhi::renderFrame() {
}

Rhi::~Rhi() {
if (m_device.has_value()) {
vkDeviceWaitIdle(m_device.value());
}
for (VkFence fence : m_inFlightFence) {
vkDestroyFence(m_device.value(), fence, nullptr);
}
Expand Down

0 comments on commit b066faf

Please sign in to comment.