aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-03-13 14:58:34 -0700
committerChris Robinson <[email protected]>2012-03-13 14:58:34 -0700
commit92ccacdc77ff20feae721fc574982a50707fb3d3 (patch)
tree4654d1937f6c6c60a25fb51e0820f75bc3910ec3 /Alc/ALc.c
parentb5ed2a5351c065fb1de5ecc52e3d981458cd2f2c (diff)
Pass the device to InitializeEffect and return the error enum from it
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 32bcf917..21d1ac9a 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -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);