From 13066bbf87c871d848df22c660b17db435561618 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 3 Jan 2014 22:58:51 -0800 Subject: Allow selecting the default soundfont using ID 0 --- OpenAL32/alMidi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenAL32') diff --git a/OpenAL32/alMidi.c b/OpenAL32/alMidi.c index 9b0309bf..257a9481 100644 --- a/OpenAL32/alMidi.c +++ b/OpenAL32/alMidi.c @@ -51,7 +51,7 @@ AL_API void AL_APIENTRY alMidiSoundfontvSOFT(ALsizei count, const ALuint *ids) alSetError(context, AL_INVALID_OPERATION); else { - err = V(synth,selectSoundfonts)(device, count, ids); + err = V(synth,selectSoundfonts)(context, count, ids); if(err != AL_NO_ERROR) alSetError(context, err); } -- cgit v1.2.3