diff --git a/include/Nazara/Graphics/RenderTexture.hpp b/include/Nazara/Graphics/RenderTexture.hpp index 3d6249c67..380cf9082 100644 --- a/include/Nazara/Graphics/RenderTexture.hpp +++ b/include/Nazara/Graphics/RenderTexture.hpp @@ -19,7 +19,7 @@ namespace Nz class NAZARA_GRAPHICS_API RenderTexture : public RenderTarget { public: - inline RenderTexture(std::shared_ptr targetTexture); + RenderTexture(std::shared_ptr targetTexture); RenderTexture(const RenderTexture&) = delete; RenderTexture(RenderTexture&&) = delete; ~RenderTexture() = default; diff --git a/src/Nazara/OpenGLRenderer/OpenGLCommandBufferBuilder.cpp b/src/Nazara/OpenGLRenderer/OpenGLCommandBufferBuilder.cpp index 252def75c..6fed91085 100644 --- a/src/Nazara/OpenGLRenderer/OpenGLCommandBufferBuilder.cpp +++ b/src/Nazara/OpenGLRenderer/OpenGLCommandBufferBuilder.cpp @@ -94,7 +94,7 @@ namespace Nz 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(fromTexture); const OpenGLSwapchain& glSwapchain = SafeCast(swapchain);