From 92ccacdc77ff20feae721fc574982a50707fb3d3 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 13 Mar 2012 14:58:34 -0700 Subject: Pass the device to InitializeEffect and return the error enum from it --- Alc/ALc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/ALc.c') 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); -- cgit v1.2.3