summaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-09-10 20:52:19 -0700
committerChris Robinson <[email protected]>2011-09-10 20:52:19 -0700
commitc19a7408d990f3f50c35be1c577ba2a9df13d903 (patch)
treeb440f7a302a1a03c80d2c69c58649f1fd051afcc /Alc/ALc.c
parentc7b9d27b858d95859f7cbad5213a51c94ce6ac32 (diff)
Add a comment about when FreeContext and FreeDevice are called
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c6
1 files changed, 3 insertions, 3 deletions
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)
{