Fix previous commit

This commit is contained in:
SirLynix 2023-11-20 23:19:41 +01:00
parent 7991071e41
commit eddd4e992b
2 changed files with 1 additions and 5 deletions

View File

@ -6,10 +6,6 @@
namespace Nz
{
inline RenderTexture::RenderTexture(std::shared_ptr<Texture> targetTexture) :
RenderTexture(std::move(targetTexture), PipelineStage::FragmentShader, MemoryAccess::ColorRead, TextureLayout::ColorInput)
{
}
}
#include <Nazara/Graphics/DebugOff.hpp>

View File

@ -10,7 +10,7 @@
namespace Nz
{
RenderTexture::RenderTexture(std::shared_ptr<Texture> texture, PipelineStage targetPipelineStage, MemoryAccessFlags targetMemoryFlags, TextureLayout targetLayout) :
RenderTexture::RenderTexture(std::shared_ptr<Texture> texture) :
m_targetTexture(std::move(texture)),
m_textureSize(Vector2ui(m_targetTexture->GetSize()))
{