mirror of
https://github.com/visualboyadvance-m/visualboyadvance-m
synced 2025-10-05 23:52:49 +02:00
Add missing error translation in Metal driver
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user