Fix a lot of warnings and some errors
This commit is contained in:
@@ -31,7 +31,7 @@ namespace Nz
|
||||
inline OpenGLCommandBuffer();
|
||||
inline OpenGLCommandBuffer(OpenGLCommandPool& owner, std::size_t poolIndex, std::size_t bindingIndex);
|
||||
OpenGLCommandBuffer(const OpenGLCommandBuffer&) = delete;
|
||||
OpenGLCommandBuffer(OpenGLCommandBuffer&&) noexcept = default;
|
||||
OpenGLCommandBuffer(OpenGLCommandBuffer&&) = delete;
|
||||
~OpenGLCommandBuffer() = default;
|
||||
|
||||
inline void BeginDebugRegion(const std::string_view& regionName, const Nz::Color& color);
|
||||
|
||||
@@ -20,8 +20,8 @@ namespace Nz
|
||||
{
|
||||
public:
|
||||
inline OpenGLShaderBinding(OpenGLRenderPipelineLayout& owner, std::size_t poolIndex, std::size_t bindingIndex);
|
||||
OpenGLShaderBinding(const OpenGLShaderBinding&) = default;
|
||||
OpenGLShaderBinding(OpenGLShaderBinding&&) = default;
|
||||
OpenGLShaderBinding(const OpenGLShaderBinding&) = delete;
|
||||
OpenGLShaderBinding(OpenGLShaderBinding&&) = delete;
|
||||
~OpenGLShaderBinding() = default;
|
||||
|
||||
void Apply(const GL::Context& context) const;
|
||||
|
||||
@@ -19,8 +19,8 @@ namespace Nz
|
||||
{
|
||||
public:
|
||||
OpenGLTexture(OpenGLDevice& device, const TextureInfo& params);
|
||||
OpenGLTexture(const OpenGLTexture&) = default;
|
||||
OpenGLTexture(OpenGLTexture&&) noexcept = default;
|
||||
OpenGLTexture(const OpenGLTexture&) = delete;
|
||||
OpenGLTexture(OpenGLTexture&&) = delete;
|
||||
~OpenGLTexture() = default;
|
||||
|
||||
PixelFormat GetFormat() const override;
|
||||
|
||||
@@ -18,8 +18,8 @@ namespace Nz
|
||||
{
|
||||
public:
|
||||
OpenGLTextureSampler(OpenGLDevice& device, const TextureSamplerInfo& samplerInfo);
|
||||
OpenGLTextureSampler(const OpenGLTextureSampler&) = default;
|
||||
OpenGLTextureSampler(OpenGLTextureSampler&&) noexcept = default;
|
||||
OpenGLTextureSampler(const OpenGLTextureSampler&) = delete;
|
||||
OpenGLTextureSampler(OpenGLTextureSampler&&) = delete;
|
||||
~OpenGLTextureSampler() = default;
|
||||
|
||||
inline const GL::Sampler& GetSampler(bool mipmaps) const;
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace Nz
|
||||
void Activate() const override;
|
||||
|
||||
OpenGLWindowFramebuffer& operator=(const OpenGLWindowFramebuffer&) = delete;
|
||||
OpenGLWindowFramebuffer& operator=(OpenGLWindowFramebuffer&&) noexcept = default;
|
||||
OpenGLWindowFramebuffer& operator=(OpenGLWindowFramebuffer&&) = delete;
|
||||
|
||||
private:
|
||||
OpenGLRenderWindow& m_renderWindow;
|
||||
|
||||
Reference in New Issue
Block a user