Compilation fixes
This commit is contained in:
@@ -19,7 +19,7 @@ namespace Nz
|
|||||||
class NAZARA_GRAPHICS_API RenderTexture : public RenderTarget
|
class NAZARA_GRAPHICS_API RenderTexture : public RenderTarget
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
inline RenderTexture(std::shared_ptr<Texture> targetTexture);
|
RenderTexture(std::shared_ptr<Texture> targetTexture);
|
||||||
RenderTexture(const RenderTexture&) = delete;
|
RenderTexture(const RenderTexture&) = delete;
|
||||||
RenderTexture(RenderTexture&&) = delete;
|
RenderTexture(RenderTexture&&) = delete;
|
||||||
~RenderTexture() = default;
|
~RenderTexture() = default;
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ namespace Nz
|
|||||||
m_commandBuffer.BlitTexture(sourceTexture, fromBox, targetTexture, toBox, filter);
|
m_commandBuffer.BlitTexture(sourceTexture, fromBox, targetTexture, toBox, filter);
|
||||||
}
|
}
|
||||||
|
|
||||||
void OpenGLCommandBufferBuilder::BlitTextureToSwapchain(const Texture& fromTexture, const Boxui& fromBox, TextureLayout fromLayout, const Swapchain& swapchain, std::size_t imageIndex)
|
void OpenGLCommandBufferBuilder::BlitTextureToSwapchain(const Texture& fromTexture, const Boxui& fromBox, TextureLayout /*fromLayout*/, const Swapchain& swapchain, std::size_t imageIndex)
|
||||||
{
|
{
|
||||||
const OpenGLTexture& glTexture = SafeCast<const OpenGLTexture&>(fromTexture);
|
const OpenGLTexture& glTexture = SafeCast<const OpenGLTexture&>(fromTexture);
|
||||||
const OpenGLSwapchain& glSwapchain = SafeCast<const OpenGLSwapchain&>(swapchain);
|
const OpenGLSwapchain& glSwapchain = SafeCast<const OpenGLSwapchain&>(swapchain);
|
||||||
|
|||||||
Reference in New Issue
Block a user