Minor fixes

This commit is contained in:
SirLynix
2023-11-17 11:58:03 +01:00
parent ddc8cc6797
commit 5a14808a57
7 changed files with 15 additions and 8 deletions

View File

@@ -80,7 +80,7 @@ namespace Nz
ForwardFramePipeline& operator=(ForwardFramePipeline&&) = delete;
private:
BakedFrameGraph BuildFrameGraph();
BakedFrameGraph BuildFrameGraph(RenderFrame& renderFrame);
void RegisterMaterialInstance(MaterialInstance* materialPass);
void UnregisterMaterialInstance(MaterialInstance* material);

View File

@@ -9,7 +9,7 @@ namespace Nz
{
inline void RenderSystem::AttachExternalSwapchain(WindowSwapchain& swapchain)
{
m_windowSwapchains.emplace_back(&swapchain);
m_externalSwapchains.emplace_back(swapchain);
}
inline void RenderSystem::DetachExternalSwapchain(WindowSwapchain& swapchain)

View File

@@ -47,7 +47,7 @@ namespace Nz
private:
std::size_t m_freeCommandBufferIndex;
std::vector<VkCommandBuffer> m_allocatedCommandBuffers;;
std::vector<VkCommandBuffer> m_allocatedCommandBuffers;
std::vector<VkCommandBuffer> m_graphicalCommandBuffers;
VulkanSwapchain& m_owner;
Vk::CommandPool m_commandPool;