From 1f4f1b6c1253b588d34c3c2369aea0e25bba5c4d Mon Sep 17 00:00:00 2001 From: jcm <6864788+jcm93@users.noreply.github.com> Date: Tue, 17 Sep 2024 12:28:07 -0500 Subject: [PATCH] capi: Fix Metal error message, function header --- include/librashader_ld.h | 2 +- librashader-capi/src/error.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/librashader_ld.h b/include/librashader_ld.h index dd9eaf0..6d42635 100644 --- a/include/librashader_ld.h +++ b/include/librashader_ld.h @@ -1334,7 +1334,7 @@ typedef struct libra_instance_t { /// struct. PFN_libra_mtl_filter_chain_frame mtl_filter_chain_frame; - /// Free a D3D11 filter chain. + /// Free a Metal filter chain. /// /// The resulting value in `chain` then becomes null. /// ## Safety diff --git a/librashader-capi/src/error.rs b/librashader-capi/src/error.rs index f083428..1fce88e 100644 --- a/librashader-capi/src/error.rs +++ b/librashader-capi/src/error.rs @@ -59,7 +59,7 @@ pub enum LibrashaderError { doc(cfg(all(target_vendor = "apple", feature = "runtime-metal"))) )] #[cfg(all(target_vendor = "apple", feature = "runtime-metal"))] - #[error("There was an error in the D3D12 filter chain.")] + #[error("There was an error in the Metal filter chain.")] MetalFilterError(#[from] librashader::runtime::mtl::error::FilterChainError), }