Remove duplicate ERR_PRINT macro.
This commit is contained in:
parent
2b1084fab3
commit
5af3b4ca27
76 changed files with 173 additions and 178 deletions
|
|
@ -51,13 +51,13 @@ Error MIDIDriverCoreMidi::open() {
|
|||
OSStatus result = MIDIClientCreate(name, NULL, NULL, &client);
|
||||
CFRelease(name);
|
||||
if (result != noErr) {
|
||||
ERR_PRINTS("MIDIClientCreate failed, code: " + itos(result));
|
||||
ERR_PRINT("MIDIClientCreate failed, code: " + itos(result));
|
||||
return ERR_CANT_OPEN;
|
||||
}
|
||||
|
||||
result = MIDIInputPortCreate(client, CFSTR("Godot Input"), MIDIDriverCoreMidi::read, (void *)this, &port_in);
|
||||
if (result != noErr) {
|
||||
ERR_PRINTS("MIDIInputPortCreate failed, code: " + itos(result));
|
||||
ERR_PRINT("MIDIInputPortCreate failed, code: " + itos(result));
|
||||
return ERR_CANT_OPEN;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue