fix nasty copy
This commit is contained in:
parent
8da1fa5db5
commit
31f8b03a22
|
|
@ -103,7 +103,7 @@ namespace Nz
|
||||||
// init rendering
|
// init rendering
|
||||||
io.DisplaySize = ImVec2(window.GetSize().x * 1.f, window.GetSize().y * 1.f);
|
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" });
|
registry.RegisterPass<ImguiPipelinePass>("Imgui", { "Input" }, { "Output" });
|
||||||
|
|
||||||
if (bLoadDefaultFont)
|
if (bLoadDefaultFont)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue