Compilation fixes

This commit is contained in:
Lynix 2023-11-21 07:44:44 +01:00
parent eddd4e992b
commit c352e78e11
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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);