Fix DeferredShading demo
This commit is contained in:
parent
359c176b03
commit
6bb1ee283f
|
|
@ -670,6 +670,8 @@ int main()
|
||||||
|
|
||||||
Nz::RenderFrame* currentFrame = nullptr;
|
Nz::RenderFrame* currentFrame = nullptr;
|
||||||
|
|
||||||
|
Nz::ElementRendererRegistry elementRegistry;
|
||||||
|
|
||||||
Nz::BakedFrameGraph bakedGraph = [&]
|
Nz::BakedFrameGraph bakedGraph = [&]
|
||||||
{
|
{
|
||||||
Nz::PixelFormat depthStencilFormat = Nz::PixelFormat::Undefined;
|
Nz::PixelFormat depthStencilFormat = Nz::PixelFormat::Undefined;
|
||||||
|
|
@ -688,8 +690,6 @@ int main()
|
||||||
std::exit(__LINE__);
|
std::exit(__LINE__);
|
||||||
}
|
}
|
||||||
|
|
||||||
Nz::ElementRendererRegistry elementRegistry;
|
|
||||||
|
|
||||||
Nz::FrameGraph graph;
|
Nz::FrameGraph graph;
|
||||||
|
|
||||||
colorTexture = graph.AddAttachment({
|
colorTexture = graph.AddAttachment({
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue