fix nasty copy

This commit is contained in:
SweetId 2023-11-16 18:50:43 +05:30
parent 8da1fa5db5
commit 31f8b03a22
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ namespace Nz
// init rendering
io.DisplaySize = ImVec2(window.GetSize().x * 1.f, window.GetSize().y * 1.f);
auto registry = Nz::Graphics::Instance()->GetFramePipelinePassRegistry();
auto& registry = Nz::Graphics::Instance()->GetFramePipelinePassRegistry();
registry.RegisterPass<ImguiPipelinePass>("Imgui", { "Input" }, { "Output" });
if (bLoadDefaultFont)