mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
Fix crash when fluidsynth is not compiled in
This commit is contained in:
parent
04504a4901
commit
0ae9d3b93e
1 changed files with 1 additions and 0 deletions
|
@ -276,6 +276,7 @@ MIDIDevice *MIDIStreamer::CreateMIDIDevice(EMidiDevice devtype, int samplerate)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
throw std::runtime_error("MIDI device type not compiled in");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue