Add a comment about when FreeContext and FreeDevice are called

This commit is contained in:
Chris Robinson
2011-09-10 20:52:19 -07:00
parent c7b9d27b85
commit c19a7408d9
+3 -3
View File
@@ -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)
{