Minor fixes
This commit is contained in:
parent
80cab34088
commit
5f796666f0
|
|
@ -3,10 +3,10 @@
|
|||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Posix/FileImpl.hpp>
|
||||
#include <NazaraUtils/Algorithm.hpp>
|
||||
#include <Nazara/Core/Algorithm.hpp>
|
||||
#include <Nazara/Core/Error.hpp>
|
||||
#include <Nazara/Core/StringExt.hpp>
|
||||
#include <NazaraUtils/Algorithm.hpp>
|
||||
#include <cstdio>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
|
|
|||
|
|
@ -500,18 +500,9 @@ namespace Nz
|
|||
m_bakedFrameGraph.Execute(renderFrame);
|
||||
m_rebuildFrameGraph = false;
|
||||
|
||||
// Final blit (TODO: Make part of frame graph)
|
||||
// Final blit (TODO: Make part of frame graph?)
|
||||
for (auto&& [renderTargetPtr, renderTargetData] : m_renderTargets)
|
||||
{
|
||||
const RenderTarget& renderTarget = *renderTargetPtr;
|
||||
const auto& data = renderTargetData;
|
||||
|
||||
renderTarget.OnRenderEnd(renderFrame, m_bakedFrameGraph, data.finalAttachment);
|
||||
|
||||
renderFrame.Execute([&](CommandBufferBuilder& builder)
|
||||
{
|
||||
}, QueueType::Graphics);
|
||||
}
|
||||
renderTargetPtr->OnRenderEnd(renderFrame, m_bakedFrameGraph, renderTargetData.finalAttachment);
|
||||
|
||||
// reset at the end instead of the beginning so debug draw can be used before calling this method
|
||||
DebugDrawer& debugDrawer = GetDebugDrawer();
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
#include <Nazara/Graphics/RenderTexture.hpp>
|
||||
#include <Nazara/Graphics/FrameGraph.hpp>
|
||||
#include <Nazara/Renderer/CommandBufferBuilder.hpp>
|
||||
#include <Nazara/Renderer/Texture.hpp>
|
||||
#include <Nazara/Graphics/Debug.hpp>
|
||||
|
||||
|
|
|
|||
|
|
@ -3,13 +3,13 @@
|
|||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Utility/Image.hpp>
|
||||
#include <NazaraUtils/StackArray.hpp>
|
||||
#include <Nazara/Core/Error.hpp>
|
||||
#include <Nazara/Core/ErrorFlags.hpp>
|
||||
#include <Nazara/Core/StringExt.hpp>
|
||||
#include <Nazara/Utility/Config.hpp>
|
||||
#include <Nazara/Utility/PixelFormat.hpp>
|
||||
#include <Nazara/Utility/Utility.hpp>
|
||||
#include <NazaraUtils/StackArray.hpp>
|
||||
#include <memory>
|
||||
#include <Nazara/Utility/Debug.hpp>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue