aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-01-03 22:58:51 -0800
committerChris Robinson <[email protected]>2014-01-03 22:58:51 -0800
commit13066bbf87c871d848df22c660b17db435561618 (patch)
tree464a6fec9314aad12800edd8e297024a09f4cb7d /OpenAL32
parent42a67731c411775fe9de5d3a05edfd10205cc70f (diff)
Allow selecting the default soundfont using ID 0
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/alMidi.c2
1 files changed, 1 insertions, 1 deletions
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);
}