From eaccaa50284da45401d841a867a7a10daa00dbd0 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 21 May 2013 13:02:56 -0700 Subject: Rename the effect state's Destroy method to Destruct --- Alc/alcFlanger.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Alc/alcFlanger.c') diff --git a/Alc/alcFlanger.c b/Alc/alcFlanger.c index 953828f6..b3f09018 100644 --- a/Alc/alcFlanger.c +++ b/Alc/alcFlanger.c @@ -57,7 +57,7 @@ typedef struct ALflangerState { ALfloat feedback; } ALflangerState; -static ALvoid ALflangerState_Destroy(ALflangerState *state) +static ALvoid ALflangerState_Destruct(ALflangerState *state) { free(state->SampleBufferLeft); state->SampleBufferLeft = NULL; @@ -270,7 +270,7 @@ ALeffectState *ALflangerStateFactory_create(void) static ALvoid ALflangerStateFactory_destroy(ALeffectState *effect) { ALflangerState *state = STATIC_UPCAST(ALflangerState, ALeffectState, effect); - ALflangerState_Destroy(state); + ALflangerState_Destruct(state); free(state); } -- cgit v1.2.3