Fix DeferredShading demo

This commit is contained in:
SirLynix
2022-09-06 13:00:53 +02:00
parent 359c176b03
commit 6bb1ee283f

View File

@@ -670,6 +670,8 @@ int main()
Nz::RenderFrame* currentFrame = nullptr;
Nz::ElementRendererRegistry elementRegistry;
Nz::BakedFrameGraph bakedGraph = [&]
{
Nz::PixelFormat depthStencilFormat = Nz::PixelFormat::Undefined;
@@ -688,8 +690,6 @@ int main()
std::exit(__LINE__);
}
Nz::ElementRendererRegistry elementRegistry;
Nz::FrameGraph graph;
colorTexture = graph.AddAttachment({