Fix previous commit
This commit is contained in:
@@ -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()))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user