capi: Fix Metal error message, function header

This commit is contained in:
jcm 2024-09-17 12:28:07 -05:00 committed by Ronny Chan
parent 57f2dabf0c
commit 1f4f1b6c12
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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),
}