diff options
author | Chris Robinson <[email protected]> | 2012-03-13 14:58:34 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-03-13 14:58:34 -0700 |
commit | 92ccacdc77ff20feae721fc574982a50707fb3d3 (patch) | |
tree | 4654d1937f6c6c60a25fb51e0820f75bc3910ec3 /Alc/ALc.c | |
parent | b5ed2a5351c065fb1de5ecc52e3d981458cd2f2c (diff) |
Pass the device to InitializeEffect and return the error enum from it
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2297,7 +2297,7 @@ ALC_API ALCcontext* ALC_APIENTRY alcCreateContext(ALCdevice *device, const ALCin UnlockLists(); if(device->DefaultSlot) - InitializeEffect(ALContext, device->DefaultSlot, &DefaultEffect); + InitializeEffect(device, device->DefaultSlot, &DefaultEffect); ALContext->LastError = AL_NO_ERROR; ALCdevice_DecRef(device); |