Fix previous commit
This commit is contained in:
parent
7991071e41
commit
eddd4e992b
|
|
@ -6,10 +6,6 @@
|
||||||
|
|
||||||
namespace Nz
|
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>
|
#include <Nazara/Graphics/DebugOff.hpp>
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
namespace Nz
|
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_targetTexture(std::move(texture)),
|
||||||
m_textureSize(Vector2ui(m_targetTexture->GetSize()))
|
m_textureSize(Vector2ui(m_targetTexture->GetSize()))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue