summaryrefslogtreecommitdiffstats
path: root/Alc/alcReverb.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-05-21 13:02:56 -0700
committerChris Robinson <[email protected]>2013-05-21 13:02:56 -0700
commiteaccaa50284da45401d841a867a7a10daa00dbd0 (patch)
tree0f6a62e6e13adf982a00175354a288d5e02b9e58 /Alc/alcReverb.c
parenta5d94f5d09be24bf34cbf8433a288cfd9ca396fb (diff)
Rename the effect state's Destroy method to Destruct
Diffstat (limited to 'Alc/alcReverb.c')
-rw-r--r--Alc/alcReverb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/alcReverb.c b/Alc/alcReverb.c
index b3de2fad..e7dad6bb 100644
--- a/Alc/alcReverb.c
+++ b/Alc/alcReverb.c
@@ -1178,7 +1178,7 @@ static ALvoid ALreverbState_Update(ALreverbState *State, ALCdevice *Device, cons
// This destroys the reverb state. It should be called only when the effect
// slot has a different (or no) effect loaded over the reverb effect.
-static ALvoid ALreverbState_Destroy(ALreverbState *State)
+static ALvoid ALreverbState_Destruct(ALreverbState *State)
{
free(State->SampleBuffer);
State->SampleBuffer = NULL;
@@ -1287,7 +1287,7 @@ static ALeffectState *ALreverbStateFactory_create(void)
static ALvoid ALreverbStateFactory_destroy(ALeffectState *effect)
{
ALreverbState *state = STATIC_UPCAST(ALreverbState, ALeffectState, effect);
- ALreverbState_Destroy(state);
+ ALreverbState_Destruct(state);
free(state);
}