From c19a7408d990f3f50c35be1c577ba2a9df13d903 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 10 Sep 2011 20:52:19 -0700 Subject: Add a comment about when FreeContext and FreeDevice are called --- Alc/ALc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Alc/ALc.c') diff --git a/Alc/ALc.c b/Alc/ALc.c index 977731e3..96609e0b 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -1293,7 +1293,7 @@ static ALCboolean UpdateDeviceParams(ALCdevice *device, const ALCint *attrList) /* FreeDevice * * Frees the device structure, and destroys any objects the app failed to - * delete. + * delete. Called once there's no more references on the device. */ static ALCvoid FreeDevice(ALCdevice *device) { @@ -1451,8 +1451,8 @@ static ALvoid InitContext(ALCcontext *pContext) /* FreeContext * - * Cleans up the context, and destroy any remaining objects the app failed to - * delete. + * Cleans up the context, and destroys any remaining objects the app failed to + * delete. Called once there's no more references on the context. */ static ALCvoid FreeContext(ALCcontext *context) { -- cgit v1.2.3