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_) {