From 4b8364cfa10499d67209951712602552dc9e1070 Mon Sep 17 00:00:00 2001 From: Tadej Novak Date: Wed, 15 Oct 2025 16:39:47 +0200 Subject: [PATCH] [metal] OffscreenTextureResource: fix compilation warnings (#3727) --- src/mbgl/mtl/offscreen_texture.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/mbgl/mtl/offscreen_texture.cpp b/src/mbgl/mtl/offscreen_texture.cpp index b24658d1b..e51c4da8f 100644 --- a/src/mbgl/mtl/offscreen_texture.cpp +++ b/src/mbgl/mtl/offscreen_texture.cpp @@ -11,8 +11,11 @@ namespace mtl { class OffscreenTextureResource final : public RenderableResource { public: - OffscreenTextureResource( - Context& context_, const Size size_, const gfx::TextureChannelDataType type_, bool depth, bool stencil) + OffscreenTextureResource(Context& context_, + const Size size_, + const gfx::TextureChannelDataType type_, + bool depth, + [[maybe_unused]] bool stencil) : context(context_), size(size_), type(type_) {