Add missing error translation in Metal driver

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
Rafael Kitover
2025-10-03 04:43:47 +00:00
parent b499c2d58c
commit fc34bbbd12

View File

@@ -133,7 +133,7 @@ void MetalDrawingPanel::CreateMetalView()
_pipelineState = [_device newRenderPipelineStateWithDescriptor:pipelineStateDescriptor
error:&error];
if (!_pipelineState) {
wxLogError("Failed to create Metal pipeline state: %s", [[error localizedDescription] UTF8String]);
wxLogError(_("Failed to create Metal pipeline state: %s"), [[error localizedDescription] UTF8String]);
return;
}