diff options
author | Chris Robinson <[email protected]> | 2013-05-21 13:02:56 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-05-21 13:02:56 -0700 |
commit | eaccaa50284da45401d841a867a7a10daa00dbd0 (patch) | |
tree | 0f6a62e6e13adf982a00175354a288d5e02b9e58 /Alc/alcChorus.c | |
parent | a5d94f5d09be24bf34cbf8433a288cfd9ca396fb (diff) |
Rename the effect state's Destroy method to Destruct
Diffstat (limited to 'Alc/alcChorus.c')
-rw-r--r-- | Alc/alcChorus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/alcChorus.c b/Alc/alcChorus.c index 018caac5..cf414bbd 100644 --- a/Alc/alcChorus.c +++ b/Alc/alcChorus.c @@ -57,7 +57,7 @@ typedef struct ALchorusState { ALfloat feedback; } ALchorusState; -static ALvoid ALchorusState_Destroy(ALchorusState *state) +static ALvoid ALchorusState_Destruct(ALchorusState *state) { free(state->SampleBufferLeft); state->SampleBufferLeft = NULL; @@ -270,7 +270,7 @@ static ALeffectState *ALchorusStateFactory_create(void) static ALvoid ALchorusStateFactory_destroy(ALeffectState *effect) { ALchorusState *state = STATIC_UPCAST(ALchorusState, ALeffectState, effect); - ALchorusState_Destroy(state); + ALchorusState_Destruct(state); free(state); } |