Fix a bunch of warnings

This commit is contained in:
SirLynix
2023-05-30 12:34:38 +02:00
parent 9d422dfe45
commit 0c7efa05e2
9 changed files with 17 additions and 20 deletions

View File

@@ -643,7 +643,7 @@ namespace Nz
mergePass.AddOutput(renderTargetData.finalAttachment);
mergePass.SetClearColor(0, Color::Black());
mergePass.SetCommandCallback([&targetViewers](CommandBufferBuilder& builder, const FramePassEnvironment& env)
mergePass.SetCommandCallback([&targetViewers](CommandBufferBuilder& builder, const FramePassEnvironment& /*env*/)
{
Graphics* graphics = Graphics::Instance();
builder.BindRenderPipeline(*graphics->GetBlitPipeline(false));

View File

@@ -391,15 +391,15 @@ namespace Nz
SimpleScrollAreaWidgetStyle::SimpleScrollAreaWidgetStyle(ScrollAreaWidget* scrollAreaWidget) :
ScrollAreaWidgetStyle((BaseWidget*) scrollAreaWidget, 0)
ScrollAreaWidgetStyle(scrollAreaWidget, 0)
{
}
void SimpleScrollAreaWidgetStyle::Layout(const Vector2f& size)
void SimpleScrollAreaWidgetStyle::Layout(const Vector2f& /*size*/)
{
}
void SimpleScrollAreaWidgetStyle::UpdateRenderLayer(int baseRenderLayer)
void SimpleScrollAreaWidgetStyle::UpdateRenderLayer(int /*baseRenderLayer*/)
{
}