From 943d11dace99afbe2c80c9b1322d6f869a86fa0d Mon Sep 17 00:00:00 2001 From: baldurk Date: Wed, 10 Apr 2024 22:49:10 +0100 Subject: [PATCH] Add forward declare of MTL class in MTL namespace --- renderdoc/driver/metal/official/metal-cpp.h | 1 + 1 file changed, 1 insertion(+) diff --git a/renderdoc/driver/metal/official/metal-cpp.h b/renderdoc/driver/metal/official/metal-cpp.h index 1a3acddcc..c7e8f0e45 100644 --- a/renderdoc/driver/metal/official/metal-cpp.h +++ b/renderdoc/driver/metal/official/metal-cpp.h @@ -12939,6 +12939,7 @@ _MTL_INLINE MTL::Device* MTL::DepthStencilState::device() const namespace MTL { +class SamplerDescriptor; // RD: forward declare SamplerDescriptor _MTL_ENUM(NS::Integer, IOCompressionMethod) { IOCompressionMethodZlib = 0, IOCompressionMethodLZFSE = 1,