[metal] OffscreenTextureResource: fix compilation warnings (#3727)

This commit is contained in:
Tadej Novak
2025-10-15 16:39:47 +02:00
committed by GitHub
parent 5f808e0308
commit 4b8364cfa1

View File

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