diff options
Diffstat (limited to 'Alc/effects/dedicated.c')
-rw-r--r-- | Alc/effects/dedicated.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/Alc/effects/dedicated.c b/Alc/effects/dedicated.c index 6b3ce1ae..184fe292 100644 --- a/Alc/effects/dedicated.c +++ b/Alc/effects/dedicated.c @@ -85,9 +85,9 @@ static ALvoid ALdedicatedState_Process(ALdedicatedState *state, ALuint SamplesTo } } -static ALeffectStateFactory *ALdedicatedState_getCreator(void) +static void ALdedicatedState_Delete(ALdedicatedState *state) { - return STATIC_CAST(ALeffectStateFactory, &DedicatedFactory); + free(state); } DEFINE_ALEFFECTSTATE_VTABLE(ALdedicatedState); @@ -108,13 +108,6 @@ ALeffectState *ALdedicatedStateFactory_create(void) return STATIC_CAST(ALeffectState, state); } -static ALvoid ALdedicatedStateFactory_destroy(ALeffectState *effect) -{ - ALdedicatedState *state = STATIC_UPCAST(ALdedicatedState, ALeffectState, effect); - ALdedicatedState_Destruct(state); - free(state); -} - DEFINE_ALEFFECTSTATEFACTORY_VTABLE(ALdedicatedStateFactory); |