From 334a7c1d59961277263a7a69575325aeef0987ee Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 27 May 2013 13:16:17 -0700 Subject: Cleanup the ALeffectStateFactory_create methods Get rid of the ALeffectStateFactory_create macro, and use the VCALL_NOARGS helper (requires adding the 'this' factory parameter). --- Alc/effects/dedicated.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Alc/effects/dedicated.c') diff --git a/Alc/effects/dedicated.c b/Alc/effects/dedicated.c index 9ed68af2..4d3485fb 100644 --- a/Alc/effects/dedicated.c +++ b/Alc/effects/dedicated.c @@ -93,10 +93,11 @@ static void ALdedicatedState_Delete(ALdedicatedState *state) DEFINE_ALEFFECTSTATE_VTABLE(ALdedicatedState); -ALeffectState *ALdedicatedStateFactory_create(void) +ALeffectState *ALdedicatedStateFactory_create(ALdedicatedStateFactory *factory) { ALdedicatedState *state; ALsizei s; + (void)factory; state = malloc(sizeof(*state)); if(!state) return NULL; -- cgit v1.2.3